Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    5
    Vote Rating
    0
    joshke is on a distinguished road

      0  

    Default DeftJS & CMD v3 ST 2.1

    DeftJS & CMD v3 ST 2.1


    I upgraded my app from ST 2.0 to ST 2.1 with the new cmd tool and it worked fine for me.
    But I can't build my app with sencha app build testing. With CMD v 2 and SDK Version 2.0 the building process have no error.

    First error was with sass, due to that I haven't installed compass, but I removed the sass compiling process from build-impl.xml

    Now I get the following error:
    Unknown definition for dependency : Deft.mvc.ViewController

    And I have no clue how to fix this.

    Anyone could help me?

  2. #2
    Sencha User
    Join Date
    Jul 2012
    Posts
    5
    Vote Rating
    0
    joshke is on a distinguished road

      0  

    Default


    Found the solution in another thread (sorry I lost the link)
    Add requires statment to every view with deft js controller:
    Code:
      controller: 'App.viewcontroller.Login',
         requires: [ 'App.viewcontroller.Login'],
    and modifie classpath in sencha.cfg
    Code:
    app.classpath=${app.dir}/Deft,${app.dir}/app.js,${app.dir}/app

Tags for this Thread