1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Paris, France
    Posts
    46
    Vote Rating
    0
    Answers
    1
    Arekkk is on a distinguished road

      0  

    Default Unanswered: Dependencies issue when building

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    Answers
    3575
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Are you using Sencha Command to start your app?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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
    46
    Vote Rating
    0
    Answers
    1
    Arekkk is on a distinguished road

      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 ?

Thread Participants: 1

Tags for this Thread