Skip to content

Commit

Permalink
digest jar file instead jar path
Browse files Browse the repository at this point in the history
In the original source, files extracted from the old jar are cached, preventing you the new jar file contents from adding to fileset, Even if the artifact is changed.
  • Loading branch information
ajchemist authored Jan 2, 2018
1 parent 260fe1d commit 94efe09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot/core/src/boot/task_helpers.clj
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
excl (when v? [regex])
jar (jar-path sym)]
(core/add-cached-resource
fs (digest/md5 jar) (partial pod/unpack-jar jar)
fs (digest/md5 (io/file jar)) (partial pod/unpack-jar jar)
:include incl :exclude excl :mergers pod/standard-jar-mergers)))
(reduce fileset args))))

Expand Down

0 comments on commit 94efe09

Please sign in to comment.