Success! Looks like we've fixed this one. According to our records the fix was applied for SDKTOOLS-163 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2009
    Location
    Rhode Island
    Posts
    231
    Vote Rating
    23
    dmulcahey will become famous soon enough dmulcahey will become famous soon enough

      0  

    Question sencha app build: classes out of order

    sencha app build: classes out of order


    I may be doing something wrong, but I took one of my larger projects from Sencha Architect and attempted to restructure it so i could use Cmd. I got the app folder generated, moved in the code from SA, refreshed the bootstrap and then ran sencha app build. The all-classes.js file has Ext.data.ResultSet defined before Ext. It looks like all of the app code is accounted for. Is there something that I am doing wrong?

  2. #2
    Sencha Premium Member
    Join Date
    Dec 2009
    Location
    Rhode Island
    Posts
    231
    Vote Rating
    23
    dmulcahey will become famous soon enough dmulcahey will become famous soon enough

      0  

    Lightbulb


    Ok, I got past the issue.... seems if I use compile instead of app build and I exclude Ext.draw then the issue doesn't happen. It also seems like I have a lot of stuff in the compressed application I don't need. I am going to work on cleaning it up now that I found a way to get around the issue.

    Is there some way I can use the app build command and not run into that issue?

  3. #3
    Sencha - Ext JS Dev Team
    Join Date
    Jan 2012
    Posts
    34
    Vote Rating
    6
    kkrohe is on a distinguished road

      0  

    Default


    This is being caused by a know issue with the compiler failing to detect dependencies on the core class system for classes that do not extend any base class. It has been resolved recently, and we hope to have a refresh build available soon with the fix.

    As a workaround until then, however, you should be able to add the following comment directive at the top of ResultSet.js in the ext/src directory for this application:

    Code:
    //@require @foundation
    This will indicate to the compiler that ResultSet.js requires the foundation set of files from the framework and will prevent ResultSet from being sorted before Ext. As both the compiler and app build commands draw sources directly from the raw framework source tree for builds, app build should start working once this tag has been added.

  4. #4
    Sencha Premium Member
    Join Date
    Dec 2009
    Location
    Rhode Island
    Posts
    231
    Vote Rating
    23
    dmulcahey will become famous soon enough dmulcahey will become famous soon enough

      0  

    Default


    Great. Thanks for the reply.

  5. #5
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,341
    Vote Rating
    132
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 2