4 Oct 2012 11:53 AM #1
How do I build the custom EXT.js for my application including all components
I have build the all-classes.js & also the app-all.js from the SDK.
Standard Stuff was simple to do - Thanx Sencha for the SDK tool
sencha create jsb -v -a http://localhost:8080/[ApplicationRoot]/index.jsp -p app.jsb3
sencha build -p app.jsb3 -d .
Now how do I build the Custom ext.js file for my application???
How can I include all ux & requires into it.
5 Oct 2012 10:22 PM #2
It looks like you are using v2 (SDK Tools). The current version is Sencha Cmd v184.108.40.206 (at this moment).
In Cmd v3, there is no longer the need for a JSB file to maintain. The documentation has also been updated. The closest to what you might need is http://docs.sencha.com/ext-js/4-1/#!...and_app_single
You may be able to set up your JSP file to use the new compiler's page command which would make compiling your page down to use a single JS file very simple.
If you want more control over how the JS code is packaged, you can use the lower-level compiler commands.