1. #1
    Ext JS Premium Member
    Join Date
    Sep 2008
    Location
    Raleigh, NC
    Posts
    145
    Vote Rating
    5
    qooleot is on a distinguished road

      0  

    Default jsbuilder2 error

    jsbuilder2 error


    I just got the trunk from SVN and downloaded JSBuilder2 from:

    http://extjs.com/products/jsbuilder/

    Any ideas?

    Code:
    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
            at com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber(JavaScriptCompressor.java:299)
            at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:336)
            at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:533)
            at com.extjs.JSBuilder2.compressOutputFiles(JSBuilder2.java:302)
            at com.extjs.JSBuilder2.main(JSBuilder2.java:45)

  2. #2
    Ext JS Premium Member
    Join Date
    Sep 2008
    Location
    Raleigh, NC
    Posts
    145
    Vote Rating
    5
    qooleot is on a distinguished road

      0  

    Default fixed

    fixed


    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
    http://developer.yahoo.com/yui/compressor/
    http://developer.yahoo.com/yui/license.html

    Mozilla's Rhino Project licensed under Mozilla's MPL
    http://www.mozilla.org/rhino/
    http://www.mozilla.org/MPL/

    JArgs licensed under BSD License
    http://jargs.sourceforge.net/

    JSON in Java licensed under the JSON License
    http://www.json.org/java/index.html
    http://www.json.org/license.html

  3. #3
    Ext JS Premium Member
    Join Date
    Apr 2007
    Posts
    291
    Vote Rating
    0
    jheid is on a distinguished road

      0  

    Default


    I think ExtJS should use JarJar for it.

  4. #4
    Ext User
    Join Date
    Apr 2008
    Posts
    2
    Vote Rating
    0
    dexpdx is on a distinguished road

      0  

    Default


    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.

  5. #5
    Ext User marcus.schiesser's Avatar
    Join Date
    Dec 2008
    Posts
    11
    Vote Rating
    0
    marcus.schiesser is on a distinguished road

      0  

    Default general workaround

    general workaround


    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:

    Code:
    java -Djava.endorsed.dirs=. -jar JSBuilder2.jar --projectFile ./build.jsb2 --homeDir .

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi