lein-ring
lein-ring copied to clipboard
implement :filespecs
The leiningen jar task provides a :filespecs mechanism which allows you to insert arbitrary entries into the jar file. It'd be nice if war and uberwar did the same.
I'm willing to do the work, but can't get to it right now, and want to make sure you're good with copying the project's filespecs into WEB-INF/classes.
Example of it's usage is in the sample.project.clj
I think this would be a good addition.
:+1: This would be useful for me, too.
I looked into it but it was too much for me to do at the moment. What I found:
-
leiningen.jar/copy-to-jar
is private, but looks like the thing that we'd want to use. -
lein-ring
's master fails for me (though0.9.1
works). An error aboutnth
being called on a PersistentArrayMap.
Interesting, can I see a traceback and preferably a reproducing project?
(A reproducing project would be nice but is far from needed, a traceback by itself would still be really helpful)
Will post as a separate issue.