[jbosstools-issues] [JBoss JIRA] (JBIDE-11156) add check for wget executable into build/aggregate/build.xml#collect.zips
Nick Boldt (JIRA)
jira-events at lists.jboss.org
Sun Mar 4 10:56:36 EST 2012
Nick Boldt created JBIDE-11156:
----------------------------------
Summary: add check for wget executable into build/aggregate/build.xml#collect.zips
Key: JBIDE-11156
URL: https://issues.jboss.org/browse/JBIDE-11156
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Build/Releng
Affects Versions: 3.3.0.Beta2
Reporter: Nick Boldt
Assignee: Nick Boldt
Fix For: 3.3.0.Beta2
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list