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

No ResourceLoader for JNDI URLs. #37

Closed timkingman closed 11 years ago

timkingman commented 11 years ago

I'm trying to integrate LESS with JAWR 3.3 (using a modified version of eliotsykes/less-css-jawr). JAWR configuration uses servlet-relative paths, which are then passed to ServletContext.getResource() to get a jndi:// URL, which I pass to engine.compile(). When LessEngine gets the jndi URL, no ResourceLoader handles it.

I have a working patch that is just a copy/paste of HTTPResourceLoader with a different schema.

timkingman commented 11 years ago

I didn't understand that creating a pull request automatically created an issue. Closing this duplicate.