Author: nickboldt
Date: 2010-08-12 00:42:43 -0400 (Thu, 12 Aug 2010)
New Revision: 24081
Modified:
trunk/build/aggregate/site/build.xml
trunk/build/aggregate/site/pom.xml
Log:
fix variable ref to
Modified: trunk/build/aggregate/site/build.xml
===================================================================
--- trunk/build/aggregate/site/build.xml 2010-08-12 04:24:44 UTC (rev 24080)
+++ trunk/build/aggregate/site/build.xml 2010-08-12 04:42:43 UTC (rev 24081)
@@ -183,10 +183,10 @@
<target name="collect.zips" description="collect zips from the sites
we aggregated">
<property name="aggegate.zips.dir" value="${output.dir}/zips"
/>
<mkdir dir="${aggegate.zips.dir}" />
- <for list="${inputRepos}" delimiter=", "
keepgoing="true" param="repoURL">
+ <for list="${inputRepos}" delimiter=", "
keepgoing="true" param="repoNum">
<sequential>
<!-- fetch zip.list.txt file, if available -->
- <get src="(a){repoURL}/logs/zip.list.txt"
dest="${aggegate.zips.dir}/zip.list.txt" ignoreerrors="true" />
+ <get src="${inputRepo(a){repoNum}}/logs/zip.list.txt"
dest="${aggegate.zips.dir}/zip.list.txt" ignoreerrors="true" />
<if>
<available file="${aggegate.zips.dir}/zip.list.txt"
type="file" />
<then>
@@ -205,7 +205,7 @@
replace="\1" />
<mkdir dir="${aggegate.zips.dir}/${relativePath}" />
<!-- fetch zips to local dir -->
- <get src="@{repoURL}/@{zipPath}"
dest="${aggegate.zips.dir}/@{zipPath}" />
+ <get src="${inputRepo@{repoNum}}/@{zipPath}"
dest="${aggegate.zips.dir}/@{zipPath}" />
<var name="relativePath" unset="true" />
</sequential>
</for>
Modified: trunk/build/aggregate/site/pom.xml
===================================================================
--- trunk/build/aggregate/site/pom.xml 2010-08-12 04:24:44 UTC (rev 24080)
+++ trunk/build/aggregate/site/pom.xml 2010-08-12 04:42:43 UTC (rev 24081)
@@ -20,7 +20,7 @@
<
inputRepo2>http://download.jboss.org/jbosstools/builds/nightly/3.2.hel...
<
inputRepo3>http://download.jboss.org/jbosstools/builds/nightly/3.2.hel...
<
inputRepo4>http://download.jboss.org/jbosstools/builds/nightly/3.2.hel...
- <inputRepos>inputRepo1,inputRepo2,inputRepo3,inputRepo4</inputRepos>
+ <inputRepos>1,2,3,4</inputRepos>
</properties>
<build>