1. #1
    Sencha User
    Join Date
    Apr 2010
    Vote Rating
    whippersnapper is on a distinguished road


    Default Cannot compress javascript files using JSBuilder2

    Hello, I am getting the following error when JSBuilder is attempting to compress my *.js 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)
    It was working fine before. I recently was trying to get JSLint to be added to one of our SVN post commit hooks. It entailed mucking with Rhino and jslint.js files. Would that have affected JSBuilder?

    Anyone out there experienced the same issue?

  2. #2
    Sencha User
    Join Date
    Apr 2011
    Vote Rating
    abir_ahmed is on a distinguished road


    Default hi

    Yeah I faced the same problem.Can any one please gimme a solution?

  3. #3
    Sencha User
    Join Date
    May 2011
    Vote Rating
    filluplite is on a distinguished road


    Default need to use proper api

    you need to update api and use proper api show me api i can give u idea

Similar Threads

  1. Compress files using GZip
    By life.raghav in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 18 Mar 2010, 4:36 AM
  2. How do you arrange all your javascript files?
    By caesarloh in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 22 Jun 2009, 10:25 PM
  3. Compress my own js-files
    By wuschba in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 1 Oct 2008, 6:15 AM
  4. YSlow put javascript at the end of Files
    By dorgan in forum Community Discussion
    Replies: 4
    Last Post: 27 Feb 2008, 10:22 AM
  5. "Compress the source files..." option bug?
    By timb in forum Sencha Cmd
    Replies: 6
    Last Post: 25 Jun 2007, 5:17 AM

Thread Participants: 2

Tags for this Thread