Boot task to write ONLY a created jar file to disk?


Does anyone happen to have a boot task to write ONLY a produced (uber)jar file to disk? Rather than the whole target/ dir incl classes etc.


If I understand you correctly, you only need to use the sift task:

(deftask build
   (sift :include #{#"\.jar$"}) ; <-- Sift needs to be before target

Of course the steps you need in your build might differ from the above, the important parts are the sift followed by target.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.