[jbosstools-issues] [JBoss JIRA] (JBIDE-11156) replace <exec executable="wget"> w/ Ant 1.8's <get> in build/aggregate/build.xml#collect.zips
Nick Boldt (JIRA)
jira-events at lists.jboss.org
Mon Mar 5 13:52:36 EST 2012
[ https://issues.jboss.org/browse/JBIDE-11156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Boldt resolved JBIDE-11156.
--------------------------------
Resolution: Done
Fixed in trunk.
> replace <exec executable="wget"> w/ Ant 1.8's <get> in 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
> 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).
--
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