Permalink
Browse files

Fixed uberwar. Fixes #119.

  • Loading branch information...
1 parent 0815c86 commit 50e38273c9cf34d453ff0cd4c0e830f4045f5ac1 @Raynes Raynes committed Jun 24, 2011
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/cake/tasks/jar.clj
View
@@ -191,9 +191,11 @@
(build-war))
(defn build-uberwar []
- (ant War {:dest-file (warfile) :update true}
- (add-zipfileset {:dir (file (:library-path *project*))
- :prefix "WEB-INF/lib" :includes "*.jar"})))
+ (let [task (ant-type War {:dest-file (warfile) :update true})]
+ (doseq [path (:library-path *project*)]
+ (add-zipfileset task {:dir (file path)
+ :prefix "WEB-INF/lib" :includes "*.jar"}))
+ (execute task)))
(deftask uberwar #{war}
"Create a web archive containing all project dependencies."

0 comments on commit 50e3827

Please sign in to comment.