-
24 Sep 2009 9:35 AM #1
JSbuilder2 error
JSbuilder2 error
I'm running JSBuilder2 command line on Windows Vista and Getting the following error..
It actually builds the '-debug.js' version of the file and then fails to create the minified version. Any ideas?
Code:Loading the 'Test Project' Project Loaded 1 Packages Building the 'motoui - all' package as 'compiled/test.all-debug.js' - There are 12 file include(s). - - ../app/overrides/overrides-bugfixes.js - - ../app/overrides/overrides-enhancements.js - - ../app/overrides/vtypes.js - - ../app/forms/config.forms.js - - ../app/forms/config.forms.Test.js - - ../app/forms/config.forms.Import.js - - ../app/layout/config.print.js - - ../app/layout/config.NavPanel.js - - ../app/layout/config.TaskUIPanel.js - - ../app/layout/config.AppHeaderPanel.js - - ../app/layout/KRI.languages.English.js - - ../app/layout/applayout.js Exception in thread "main" java.lang.NullPointerException at com.extjs.FileHelper.listFiles(FileHelper.java:103) at com.extjs.JSBuilder2.writeHeadersToTargets(JSBuilder2.java:276) at com.extjs.JSBuilder2.main(JSBuilder2.java:44)
-
25 Sep 2009 5:38 AM #2
Here is the jsb2 file as well incase i'm doing something wrong there.
All the files included get put in a SRC directory but that is it.. no build directory and no minification. Hoping someone can see my folly. Thanks!
Code:{ projectName: 'Test Project', deployDir: '', licenseText : '', pkgs: [{ name: 'test - all', file: 'compiled/test.all.js', fileIncludes: [ {text:'overrides-bugfixes.js', path:'../app/overrides/'}, {text:'overrides-enhancements.js', path:'../app/overrides/'}, {text:'vtypes.js', path:'../app/overrides/'}, {text:'config.forms.js', path:'../app/forms/'}, {text:'config.forms.Product.js', path:'../app/forms/'}, {text:'config.forms.Import.js', path:'../app/forms/'}, {text:'config.print.js', path:'../app/layout/'}, {text:'config.NavPanel.js', path:'../app/layout/'}, {text:'config.TaskUIPanel.js', path:'../app/layout/'}, {text:'config.AppHeaderPanel.js', path:'../app/layout/'}, {text:'KRI.languages.English.js', path:'../app/layout/'}, {text:'applayout.js', path:'../app/layout/'} ] }], resources: [{ src: '../app/', dest: '/src/', filters: ".*\\.js" }] }
-
25 Sep 2009 6:31 AM #3Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
test.all.js is an unusual name. What happens if you change it to test-all.js?
-
26 Sep 2009 8:34 AM #4
OK I tried that condor but i get the same exact error.. it creates the debug file and then stops.
-
26 Sep 2009 8:50 AM #5
I also tried removing all the included files that had dots in their name with the same result. I also reduced it to just one JS file (tried a few) with the same results..
-
3 Oct 2009 12:23 PM #6
Is anyone using JSBuilder2 successfully? can anyone post a small example file of a working export?
-
25 Oct 2009 10:17 AM #7
nop, tryed migrate from JSBuilder 1 to JsBuilder 2, and all i got is
No clue what shout i do.Code:Loading the 'My project' Project Loaded 12 Packages Building the 'Admin package' package as '/scripts/pkgs/pkg-admin-debug.js' <-- first package The filename, directory name, or volume label syntax is incorrect Failed to create targets with fileIncludes. Building the 'Website All' package as '/scripts/website-compiled-debug.js' <-- resulting package This package is built by included dependencies. java.io.IOException: The filename, directory name, or volume label syntax is inc orrect at java.io.WinNTFileSystem.canonicalize0(Native Method) at java.io.Win32FileSystem.canonicalize(Unknown Source) at java.io.File.getCanonicalPath(Unknown Source) at com.extjs.JSBuilder2.createTargetsWithDeps(JSBuilder2.java:237) at com.extjs.JSBuilder2.main(JSBuilder2.java:42) Failed to create target with package dependencies. Exception in thread "main" java.lang.NullPointerException at com.extjs.FileHelper.listFiles(FileHelper.java:103) at com.extjs.JSBuilder2.writeHeadersToTargets(JSBuilder2.java:276) at com.extjs.JSBuilder2.main(JSBuilder2.java:44)
-
29 Oct 2009 12:32 AM #8All Computer & Programming Related Advice From A Expert From LIVEFREELANCER
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote