Skip to content

Commit

Permalink
no javac on empty fileset
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio committed Oct 10, 2015
1 parent b71ff55 commit f789c63
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions boot/core/src/boot/task/built_in.clj
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,20 @@

(core/deftask checkout
"Checkout dependencies task.
This task facilitates working on a project and its dependencies at the same
time, by extracting the dependency jar contents into the fileset. Transitive
dependencies will be added to the class path automatically.
You'll need at least two boot instances---one to build the dependency jar and
the other to build the project. For example:
$ boot watch pom -p foo/bar -v 1.2.3-SNAPSHOT jar install
to build the dependency jar, and
$ boot repl -s watch checkout -d foo/bar:1.2.3-SNAPSHOT cljs serve
to build the project with the checkout dependency [foo/bar \"1.2.3\"]."

[d dependencies ID:VER [[sym str]] "The vector of checkout dependencies."]
Expand Down Expand Up @@ -579,7 +579,7 @@
(into-array File)
Arrays/asList
(.getJavaFileObjectsFromFiles file-mgr))]
(when 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 f789c63

Please sign in to comment.