Skip to content

Commit 170b742

Browse files
committed
Merge pull request #1871 from obra/dont-redownload-existing-files
Don't try to fetch astyle/jre on each build.
2 parents 4e334b2 + dfa490f commit 170b742

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/build.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@
260260
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools" includes="**/man"/>
261261
</delete>
262262

263-
<get src="http://downloads.arduino.cc/libastylej-2.03.zip" dest="macosx" usetimestamp="true" />
263+
<get src="http://downloads.arduino.cc/libastylej-2.03.zip" dest="macosx" usetimestamp="true" skipexisting="true"/>
264264
<unzip src="macosx/libastylej-2.03.zip" dest="macosx" overwrite="true"/>
265265
<copy file="macosx/libastylej/libastylej.jnilib" todir="macosx/work/Arduino.app/Contents/Resources/Java/lib/" />
266266
<chmod perm="755" file="macosx/work/Arduino.app/Contents/Resources/Java/lib/libastylej.jnilib" />
@@ -476,7 +476,7 @@
476476
<copy todir="linux/work" file="linux/dist/arduino" />
477477
<chmod perm="755" file="linux/work/arduino" />
478478

479-
<get src="http://downloads.arduino.cc/libastylej-2.03.zip" dest="linux" usetimestamp="true" />
479+
<get src="http://downloads.arduino.cc/libastylej-2.03.zip" dest="linux" usetimestamp="true" skipexisting="true" />
480480
<unzip src="linux/libastylej-2.03.zip" dest="linux" overwrite="true"/>
481481
<copy file="linux/libastylej/libastylej${arch-bits}.so" tofile="linux/work/lib/libastylej.so" />
482482
<chmod perm="755" file="linux/work/lib/libastylej.so" />
@@ -671,7 +671,7 @@
671671
<fileset file="windows/eeprom.h" />
672672
</copy>
673673

674-
<get src="http://downloads.arduino.cc/libastylej-2.03.zip" dest="windows" usetimestamp="true" />
674+
<get src="http://downloads.arduino.cc/libastylej-2.03.zip" dest="windows" usetimestamp="true" skipexisting="true" />
675675
<unzip src="windows/libastylej-2.03.zip" dest="windows" overwrite="true"/>
676676
<copy file="windows/libastylej/AStylej.dll" todir="windows/work/lib" />
677677

@@ -728,7 +728,7 @@
728728
<target name="windows-dist" depends="windows-build"
729729
description="Create .zip files of windows version">
730730

731-
<get src="http://downloads.arduino.cc/jre_7u40_windows_i586.zip" dest="windows/jre.zip" usetimestamp="true" />
731+
<get src="http://downloads.arduino.cc/jre_7u40_windows_i586.zip" dest="windows/jre.zip" usetimestamp="true" skipexisting="true" />
732732

733733
<unzip dest="windows/work" src="windows/jre.zip" overwrite="false"/>
734734

0 commit comments

Comments
 (0)