Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LessEngine.compile can't load a less file from a jar #46

Open
lkobashigawa opened this issue Nov 7, 2013 · 1 comment
Open

LessEngine.compile can't load a less file from a jar #46

lkobashigawa opened this issue Nov 7, 2013 · 1 comment

Comments

@lkobashigawa
Copy link

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:
lkobashigawa@088aaf6

@Tzrlk
Copy link

Tzrlk commented Aug 25, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants