View Full Version : Merge and minify recursively

21 Dec 2011, 9:49 AM

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
No... you can create the JSB and then manually add in the JS files you want and then do the build.

24 Dec 2011, 1:00 PM
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
What are the errors?

26 Dec 2011, 6:53 AM
"The following classes are not declared even if their files have been loaded"

26 Dec 2011, 8:04 AM
Then there is a typo somewhere