lein-ring icon indicating copy to clipboard operation
lein-ring copied to clipboard

Support puting arbitrary files into WEB-INF

Open jeremyheiler opened this issue 11 years ago • 4 comments

Would you consider a patch that introduces a :web-inf-resource-paths key? This would allow someone to put arbitrary files inside WEB-INF. This is where you would put things that need to be hidden (i.e. not at the root of the WAR file) but also should not be on the classpath. I need this functionality in order to start converting a legacy Java web application to Clojure.

jeremyheiler avatar Apr 08 '14 05:04 jeremyheiler

This sounds reasonable. Apologies for the delay - Lein-Ring hasn't been a high priority for me for a while.

weavejester avatar Apr 15 '14 21:04 weavejester

Thanks. I'd be happy to help in general.

jeremyheiler avatar Apr 15 '14 21:04 jeremyheiler

Is this where you'd put stuff like the .ebextensions/websocket.config file necessary for enabling web sockets on AWS? If so, consider a +1 from me :-)

stig avatar Jun 16 '14 20:06 stig

I don't know. Though, I realized that if you just put a WEB-INF directory in :war-resource-paths then the current implementation will pull that in. If you (or anyone) want this stuff to be elsewhere in your project directory, this will still be useful to have.

jeremyheiler avatar Jun 16 '14 20:06 jeremyheiler