Thank you for reporting this bug. We will make it our priority to review this report.
I just got the trunk from SVN and downloaded JSBuilder2 from:
taras@taras-ubuntu:~/Desktop$ java -jar JSBuilder2.jar --projectFile /home/taras/Desktop/ext3_latest/trunk/ext.jsb2 --homeDir /home/taras/Desktop/deploy/
Loading the 'Ext JS' Project
Loaded 35 Packages
Compressing output files...
Exception in thread "main" java.lang.RuntimeException
I figured out the issue...funny how that happens as soon as you post on the forums huh? Well anyways I nuked Rhino from the package manager in linux and that fixed the issue. I tried that because it seems like it conflicted with the use of Rhino within the jsbuilder2 jar as documented here:
JSBuilder uses the following libraries
YUI Compressor licensed under BSD License
Mozilla's Rhino Project licensed under Mozilla's MPL
JArgs licensed under BSD License
JSON in Java licensed under the JSON License
I think ExtJS should use JarJar for it.
I found that this (at least in my case) was related to this bug: https://bugs.launchpad.net/ubuntu/+s...-6/+bug/255149
I switched from openhdk to sun and everything worked fine.
In some cases you can't just simply nuke rhino since other system components may depend on it.
I proper solution (which I can't find because I'm not a java guy) would probably be to defer to the locally packaged rhino dist with JSBuilder2 rather than system lib.
this seem to happen with all VMs that have a older version of Rhino included. (For me it happend on Leopard with JDK 1.6)
One workaround that worked for me fine (as i did not need to reconfigure my VM), is to include the JSBuilder JAR temporarily to the endorsed JARs:
java -Djava.endorsed.dirs=. -jar JSBuilder2.jar --projectFile ./build.jsb2 --homeDir .