From c13950cf023e4ae08c32756f03f9dd403dfc0b2a Mon Sep 17 00:00:00 2001 From: Ralf Schmitt Date: Fri, 16 Oct 2015 16:21:21 +0200 Subject: [PATCH] fix javac task (seq? srcs) is always false, so we previously always skipped javac compilation, even on filesets containing java sources. see https://github.com/boot-clj/boot/pull/309 --- boot/core/src/boot/task/built_in.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/core/src/boot/task/built_in.clj b/boot/core/src/boot/task/built_in.clj index a5403fb4..511afcca 100644 --- a/boot/core/src/boot/task/built_in.clj +++ b/boot/core/src/boot/task/built_in.clj @@ -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)]]