-
21 Dec 2011 9:49 AM #1
Merge and minify recursively
Merge and minify recursively
Hello,
My question is, if there is a some way to create build file for JsBuilder, which will include all possible libraries, say, from the folder /js/?
The problem is our application doesn't have any single entry point, which include all possible classes. We have basic frameset which can include any module, some kind of container architecture. Each module can work both in the frameset and stand-alone mode. So the only possible way for production for us is to create one single bundle with all classes from the js/ folder.
We can use Ant + YUI for this task, but for the sake of consistency we prefer first check native ExtJs tools.
Thanks in advance.
-
21 Dec 2011 3:11 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,666
- Vote Rating
- 435
No... you can create the JSB and then manually add in the JS files you want and then do the build.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
24 Dec 2011 1:00 PM #3
Ok, thanks. Another question -- after the build is created, its not really working -- I've got errors all over the place from Ext.Require calls even if Ext.Loader is disabled. How can I fix it?
-
26 Dec 2011 6:02 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,666
- Vote Rating
- 435
What are the errors?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
26 Dec 2011 6:53 AM #5
"The following classes are not declared even if their files have been loaded"
-
26 Dec 2011 8:04 AM #6Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,666
- Vote Rating
- 435
Then there is a typo somewhere
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote