Do not download findbugs every time

Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/4498bdaf
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/4498bdaf
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/4498bdaf

Branch: refs/heads/master
Commit: 4498bdaf5b5ed138c4a32ca9a885e5fa6fee7e6d
Parents: af06da9
Author: twogee <[email protected]>
Authored: Sun May 28 15:50:19 2017 +0200
Committer: twogee <[email protected]>
Committed: Sun May 28 15:50:19 2017 +0200

----------------------------------------------------------------------
 build.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/4498bdaf/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 29a48be..1bed091 100644
--- a/build.xml
+++ b/build.xml
@@ -648,7 +648,8 @@
                   description="JVMArgs for invoking Findbugs"/>
 
         <mkdir dir="${findbugs.download.to}"/>
-        <get src="${findbugs.download.url}" 
dest="${findbugs.download.to}/${findbugs.download.file}"/>
+        <get src="${findbugs.download.url}" 
dest="${findbugs.download.to}/${findbugs.download.file}"
+            usetimestamp="true" skipexisting="true"/>
         <unzip src="${findbugs.download.to}/${findbugs.download.file}" 
dest="${findbugs.download.to}"/>
         <property name="findbugs.home" 
location="${findbugs.download.to}/${findbugs.download.name}"/>
         <mkdir dir="${findbugs.home}/plugin"/>

Reply via email to