From 94efe093e28a8c8da744898e1808d1fc83f55853 Mon Sep 17 00:00:00 2001 From: aJchemist Date: Tue, 2 Jan 2018 16:29:30 +0900 Subject: [PATCH] digest jar file instead jar path 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. --- boot/core/src/boot/task_helpers.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/core/src/boot/task_helpers.clj b/boot/core/src/boot/task_helpers.clj index 13089cca..8498c047 100644 --- a/boot/core/src/boot/task_helpers.clj +++ b/boot/core/src/boot/task_helpers.clj @@ -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))))