File tree 2 files changed +22
-18
lines changed
2 files changed +22
-18
lines changed Original file line number Diff line number Diff line change 28
28
</condition >
29
29
30
30
<target name =" download-ant" unless =" ant.present" >
31
- <get src =" ${ ant.url } " dest =" ${ ant.zip } "
32
- ignoreerrors =" ${ ant.ignorable } "
33
- usetimestamp =" true" />
34
-
35
- <property name =" ant.zip.prefix" value =" apache-ant-${ ant.version.num } /lib" />
36
-
37
- <unzip src =" ${ ant.zip } " dest =" lib" >
38
- <patternset >
39
- <!-- unzip a single jar from the ant.zip.prefix subdirectory in the .zip -->
40
- <include name =" ${ ant.zip.prefix } /ant.jar" />
41
- <include name =" ${ ant.zip.prefix } /ant-launcher.jar" />
42
- </patternset >
43
- <mapper >
44
- <!-- remove the ant.zip.prefix from the path when saving the .jar -->
45
- <globmapper from =" ${ ant.zip.prefix } /*" to =" *" />
46
- </mapper >
47
- </unzip >
31
+ <retry retrycount =" 5" retrydelay =" 10000" >
32
+ <sequential >
33
+ <get src =" ${ ant.url } " dest =" ${ ant.zip } "
34
+ ignoreerrors =" ${ ant.ignorable } "
35
+ usetimestamp =" true" />
36
+
37
+ <property name =" ant.zip.prefix" value =" apache-ant-${ ant.version.num } /lib" />
38
+
39
+ <unzip src =" ${ ant.zip } " dest =" lib" >
40
+ <patternset >
41
+ <!-- unzip a single jar from the ant.zip.prefix subdirectory in the .zip -->
42
+ <include name =" ${ ant.zip.prefix } /ant.jar" />
43
+ <include name =" ${ ant.zip.prefix } /ant-launcher.jar" />
44
+ </patternset >
45
+ <mapper >
46
+ <!-- remove the ant.zip.prefix from the path when saving the .jar -->
47
+ <globmapper from =" ${ ant.zip.prefix } /*" to =" *" />
48
+ </mapper >
49
+ </unzip >
50
+ </sequential >
51
+ </retry >
48
52
<delete file =" ${ ant.zip } " />
49
53
</target >
50
54
Original file line number Diff line number Diff line change 1
- 1294 (4.3.1 )
1
+ 1295 (4.3.2 )
2
2
^^^^^^^^^^^^
3
3
NOTE: The first line in this file is the source for the current
4
4
revision of Processing for the build system.
You can’t perform that action at this time.
0 commit comments