Results 1 to 3 of 3

Thread: Dependencies issue when building

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Paris, France
    Posts
    52
    Answers
    1
    Vote Rating
    0
      0  

    Default Unanswered: Dependencies issue when building

    Hi everyone,
    Got an unknown issue on the build phase of the app.
    My app looks clean in development (no big warning or alert), but when i'm trying to build it, it looks like a lot of files are missing.

    Code:
    GET file:///C:/Users/###/Desktop/@DEV/SENCHA2/Touch2/@build/event/Dispatcher.js?_dc=1335814913401
    
    GET file:///C:/Users/###/Desktop/@DEV/SENCHA2/Touch2/@build/event/publisher/Dom.js?_dc=1335814913403 
    
    After investigating on it, it looks like the sdk/src files haven't been imported and when I try to generate my dependencies json, the command export an empty file...

    FYI, i'm loading my Ext.application in an external .js file (due to load some cross/domain xml before loading the app).

    If someone have some clues on it, could be helpful !
    Thanks a lot !!

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,331
    Answers
    3884
    Vote Rating
    1297
      0  

    Default

    Are you using Sencha Command to start your app?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Location
    Paris, France
    Posts
    52
    Answers
    1
    Vote Rating
    0
      0  

    Default

    Hi Mitchell,
    I've fixed a part of the issue.
    Now my dependencies file looks good and I see the missing classes in the builded app.js.

    Code:
        {
            "className": "Ext.event.Dispatcher",
            "path": "./sdk/src/event/Dispatcher.js"
        },
        {
            "className": "Ext.event.Dom",
            "path": "./sdk/src/event/Dom.js"
        },
        {
            "className": "Ext.event.publisher.Dom",
            "path": "./sdk/src/event/publisher/Dom.js"
        }
    HOWEVER, when i'm running the build, i still have the GET errors i've quoted up in the thread.
    It's not really logic, because now it should get those classes in the app.js directly, not looking for a sdk/src/... js file.

    Any idea ? A bug to raise ?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •