asual / lesscss-engine

LESS Engine - A Java wrapper for less.js
http://www.asual.com/lesscss
Apache License 2.0
220 stars 66 forks source link

Enabling Rhino Script Debugger breaks the compiler. #64

Closed killerboot closed 9 years ago

killerboot commented 9 years ago

If Rhino script debugger is enabled in the system, the compilation is broken producing such errors: Failed to load source from file:/home/bblommers/Servers/alfresco-5.0.0.2-OOTB/tomcat/webapps/share/WEB-INF/lib/lesscss-engine-1.5.0.jar!/META-INF/less.js: java.io.FileNotFoundException: /home/bblommers/Servers/alfresco-5.0.0.2-OOTB/tomcat/webapps/share/WEB-INF/lib/lesscss-engine-1.5.0.jar!/META-INF/less.js (No such file or directory) The Rhino script processor is targeted to a wrong URL of the JavaScript files (the URL is missing the "jar:" protocol at the beginning) and the debugger can't open the scripts. This issue was found in Alfresco project: https://issues.alfresco.com/jira/browse/MNT-13802