PDA

View Full Version : Cannot compress javascript files using JSBuilder2



whippersnapper
6 Apr 2011, 7:33 AM
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?

abir_ahmed
25 Apr 2011, 12:25 PM
Yeah I faced the same problem.Can any one please gimme a solution?

filluplite
30 May 2011, 11:33 AM
you need to update api and use proper api show me api i can give u idea