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

implement :filespecs

Open ryfow opened this issue 11 years ago • 5 comments

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

ryfow avatar Jun 12 '13 16:06 ryfow

I think this would be a good addition.

weavejester avatar Jun 12 '13 18:06 weavejester

:+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 (though 0.9.1 works). An error about nth being called on a PersistentArrayMap.

eraserhd avatar Jan 24 '15 23:01 eraserhd

Interesting, can I see a traceback and preferably a reproducing project?

MichaelBlume avatar Jan 25 '15 01:01 MichaelBlume

(A reproducing project would be nice but is far from needed, a traceback by itself would still be really helpful)

MichaelBlume avatar Jan 25 '15 01:01 MichaelBlume

Will post as a separate issue.

eraserhd avatar Jan 25 '15 01:01 eraserhd