lesscss-engine
lesscss-engine copied to clipboard
LessEngine.compile can't load a less file from a jar
If I try to compile a less file that is in a jar, i get an IOException:
java.io.IOException: No such file jar:file:/path/to/jar/file.jar!/path/to/file.less
getClassLoader().getResource() is finding the file in the classpath, but the jar file path format causes the UnixNewlinesResourceLoader to choke.
I created a fork that has a failing unit test if that helps: https://github.com/lkobashigawa/lesscss-engine/commit/088aaf61b03c3db9c562e35936aca7324de1cc43
I'm getting this issue now as well, though it's to do with the interpreted less compilation once the initial files have been loaded, so imports within jars don't work.