Skip to content

Commit

Permalink
fix javac task
Browse files Browse the repository at this point in the history
(seq? srcs) is always false, so we previously always skipped javac
compilation, even on filesets containing java sources.

see #309
  • Loading branch information
schmir authored and martinklepsch committed Oct 26, 2015
1 parent f789c63 commit c13950c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot/core/src/boot/task/built_in.clj
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@
(into-array File)
Arrays/asList
(.getJavaFileObjectsFromFiles file-mgr))]
(when (seq? srcs)
(when (seq srcs)
(util/info "Compiling %d Java source files...\n" (count srcs))
(-> compiler (.getTask *err* file-mgr diag-coll opts nil srcs) .call)
(doseq [d (.getDiagnostics diag-coll) :let [k (.getKind d)]]
Expand Down

0 comments on commit c13950c

Please sign in to comment.