1. #1
    Ext JS Premium Member
    Join Date
    Dec 2010
    Posts
    15
    Vote Rating
    0
    karan is on a distinguished road

      0  

    Default All I want is to not ship 500 classes when I probably need 1/3 of that (Help Plz)

    All I want is to not ship 500 classes when I probably need 1/3 of that (Help Plz)


    Basic question: How do I exclude all the extra EXT classes? Seems like either I use the 'exclude' keyword (manage dependencies manually) or it'll always pick up all of Ext.

    Can someone help with a command that excludes the extra classes for a basic app generated using Sencha Cmd (see step: 1 below).

    Any pointers or a command I can try to get past this would be awesome.

    cmd version: Sencha Cmd v3.0.2.288
    ExtJs version: 4.1.1a

    Stuff I tried:

    Step 1:
    Code:
    sencha -sdk /path/to/sdk generate app
    Basic skeleton app with 4 classes total generated for an app with a panel. I run it, it comes up nicely.

    Step 2: Lets build it:
    Code:
    sencha app build
    Done. But wait: generated a 750kb file. Seems like all of Ext is in there.

    Step 3: Lets see what's included:
    Code:
    sencha compile -classpath=ext/src,app \    meta -filenames -out fileslist.txt
    488 files. WOW. This seems a bit much.

    Step 4,5,6,6,7...
    Tried a lot of things, including manually excluding files but no luck. Manual exclusion works for a few packages but the approach to manually list and figure out dependencies just isn't scalable.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    750
    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


    Depending on what you require, it will only require what it needs.
    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.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar