Results 1 to 5 of 5

Thread: sencha app build: classes out of order

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Success! Looks like we've fixed this one. According to our records the fix was applied for SDKTOOLS-163 in 3.0.0.181.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2009
    Location
    Rhode Island
    Posts
    241
    Vote Rating
    32
      0  

    Question 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
    241
    Vote Rating
    32
      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
    43
    Vote Rating
    10
      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
    241
    Vote Rating
    32
      0  

    Default

    Great. Thanks for the reply.

  5. #5
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,725
    Vote Rating
    248
      0  

    Default

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

Posting Permissions

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