-
7 Nov 2009 6:56 AM #1
JSBuilder2 usage
JSBuilder2 usage
Hi.
I'm trying to get the JSBuilder2 working to no avail. Seems that I miss something. I tried with the following minimal project file
The only thing I get when running JSBilder2 are two empty 'js' files called 'all' and 'all-debug' at the proper location. As these files are created I assume that pathes are specified correctly.Code:{ projectName: 'userEnvManager', deployDir: 'js', pkgs:[{ name: 'all', file: 'all.js', isDebug: true, fileIncludes: [{ text: 'main.js', path: 'js/src/' }] }] }
Thanks for your help.
-
7 Nov 2009 7:05 AM #2
From what I can tell, your paths are relative to the jsb2 file:
You mileage may vary.Code:java -jar ..\..\..\jsbuilder2\JSBuilder2.jar --projectFile D:\pathToJSB\project.jsb2 --homeDir D:\projectHome
"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.
-
7 Nov 2009 7:15 AM #3
-
11 Nov 2009 2:23 AM #4
I also have some issues getting JSBuilder2 to run. A description like:
"File Descriptors:
- text: String describing the file to be included
- path: String describing the directory of file to be included"
is not clear to me. Is text the filename? And path is relative to which directory?
Anyway, before going any further, I was wondering if writing a script that does the concatenation and employs YUI compressor gives the same result? If so, that seems easier than getting the JSBuilder project file correct. If not, I am wondering what the difference is?
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote


