-
Bug
-
Resolution: Done
-
Major
-
3.3.0.Beta3
-
None
In /build/aggregate/build.xml, the <target name="collect.zips"/> uses <exec executable="wget"> instead of <get> to fetch zips and metadata from download.jboss.org.
Given this script was developed before Ant 1.8, I believe the reasons for this were:
a) --tries=3 allows multiple attempts to get the same file
b) return property (wget.return) could be checked for success (0 = good, non-zero = fail), and simply continue (rather than failing) if the file couldn't be loaded
With Ant 1.8.0:
a) retries="3" allows multiple attempts to get the same file (on by default)
b) ignoreerrors="true" should permit a failed download to not fail the script
Switching from Ant 1.7 + <exec executable="wget"> to Ant 1.8 and <get> would make this script work regardless of platform on which it's run (eg., work on Windows and Mac).
- relates to
-
JBIDE-10974 Use Xvfb for build jobs instead of Xvnc
- Closed