Author: nickboldt
Date: 2011-01-27 21:40:48 -0500 (Thu, 27 Jan 2011)
New Revision: 28692
Modified:
branches/jbosstools-3.2.x/build/aggregate/site/build.xml
Log:
collect aggregate metadata (backport from trunk)
Modified: branches/jbosstools-3.2.x/build/aggregate/site/build.xml
===================================================================
--- branches/jbosstools-3.2.x/build/aggregate/site/build.xml 2011-01-28 02:40:36 UTC (rev
28691)
+++ branches/jbosstools-3.2.x/build/aggregate/site/build.xml 2011-01-28 02:40:48 UTC (rev
28692)
@@ -42,6 +42,8 @@
</taskdef>
</target>
+ <target name="custom.build" description="aggregate update site
extras"
depends="init,check.target,add.associate.sites,add.web.content,pack.zip,collect.zips,collect.metadata,create.summary.file"
/>
+
<!-- = = = = = = = = = = = = = = = = =
macrodef: fetchZipsFromList - given a list of zips in zip.list.txt, fetch those
zips
= = = = = = = = = = = = = = = = = -->
@@ -57,69 +59,148 @@
<!-- fetch zip.list.txt file, if available -->
<var unset="true" name="ALL_ZIPS" />
<var unset="true" name="wget.return" />
- <!-- quieter output and return code check w/ wget instead of <get> -->
- <exec executable="wget" dir="${aggegate.zips.dir}"
failonerror="false" failifexecutionfails="true"
resultproperty="wget.return" outputproperty="null">
- <arg line="${location.cleaned}/logs/zip.list.txt -q --no-clobber" />
+ <exec executable="wget" dir="${aggregate.zips.dir}"
failonerror="false" failifexecutionfails="false"
resultproperty="wget.return" outputproperty="null">
+ <arg line="${location.cleaned}/logs/zip.list.txt -q --no-clobber
--tries=3" />
</exec>
- <!--get src="${location.cleaned}/logs/zip.list.txt"
dest="${aggegate.zips.dir}/zip.list.txt" ignoreerrors="true" /-->
+
+ <echo level="verbose">Fetch SVN_REVISION.txt if it exists (return 8 if
not found)</echo>
+ <var name="svnRevTXT"
value="${aggregate.zips.dir}/SVN_REVISION.txt" />
+ <exec executable="wget" dir="${aggregate.zips.dir}"
failonerror="false" failifexecutionfails="false"
resultproperty="wget.return" outputproperty="null">
+ <arg line="${location.cleaned}/logs/SVN_REVISION.txt -q --no-clobber
--tries=3" />
+ </exec>
+
+ <echo level="verbose">Fetch SVN_REVISION.xml if it exists (return 8 if
not found)</echo>
+ <var name="svnRevXML"
value="${aggregate.zips.dir}/SVN_REVISION.xml" />
+ <exec executable="wget" dir="${aggregate.zips.dir}"
failonerror="false" failifexecutionfails="false"
resultproperty="wget.return" outputproperty="null">
+ <arg line="${location.cleaned}/logs/SVN_REVISION.xml -q --no-clobber
--tries=3" />
+ </exec>
+
+ <echo level="verbose">Fetch build.properties if it exists (return 8 if
not found)</echo>
+ <var name="buildProperties"
value="${aggregate.zips.dir}/build.properties" />
+ <exec executable="wget" dir="${aggregate.zips.dir}"
failonerror="false" failifexecutionfails="false"
resultproperty="wget.return" outputproperty="null">
+ <arg line="${location.cleaned}/logs/build.properties -q --no-clobber
--tries=3" />
+ </exec>
+
<if>
<and>
<equals arg1="${wget.return}" arg2="0" />
- <available file="${aggegate.zips.dir}/zip.list.txt"
type="file" />
+ <available file="${aggregate.zips.dir}/zip.list.txt"
type="file" />
</and>
<then>
<!-- load zip.list.txt file, get ALL_ZIPS list -->
<var unset="true" name="ALL_ZIPS" />
- <property file="${aggegate.zips.dir}/zip.list.txt" />
+ <property file="${aggregate.zips.dir}/zip.list.txt" />
<if>
<isset property="ALL_ZIPS" />
<then>
<var name="relativePath" unset="true" />
<for list="${ALL_ZIPS}" delimiter=", "
keepgoing="true" param="zipPath">
<sequential>
- <propertyregex override="true" property="relativePath"
defaultvalue="" input="@{zipPath}" regexp="(.+)/([^/]+.zip)"
replace="\1" />
- <mkdir dir="${aggegate.zips.dir}/${relativePath}" />
+ <propertyregex override="true" property="relativePath"
defaultvalue="" input="@{zipPath}"
regexp="(.+)/([^/]+\.zip)" replace="\1" />
+
+ <propertyregex override="true" property="svnrevPath"
defaultvalue="" input="@{zipPath}" regexp=".zip"
replace=".SVN_REVISION" />
+ <propertyregex override="true" property="svnrevPath"
defaultvalue="${svnrevPath}" input="${svnrevPath}"
regexp="-Sources-|-Update-" replace="-" />
+
+ <propertyregex override="true"
property="buildPropertiesPath" defaultvalue=""
input="@{zipPath}" regexp=".zip" replace=".build.properties"
/>
+ <propertyregex override="true"
property="buildPropertiesPath" defaultvalue="${buildPropertiesPath}"
input="${buildPropertiesPath}" regexp="-Sources-|-Update-"
replace="-" />
+
+ <propertyregex override="true" property="filePrefix"
defaultvalue="@{zipPath}" input="@{zipPath}"
regexp="(.+)/([^/]+)\.zip" replace="\2.build.properties" />
+
+ <mkdir dir="${aggregate.zips.dir}/${relativePath}" />
<!-- fetch zips to local dir -->
<echo level="verbose">repoNum = @{repoNum}
relativePath = ${relativePath}
+svnrevPath = ${svnrevPath}
+buildPropertiesPath = ${buildPropertiesPath}
zipPath = @{zipPath}
-DEST = ${aggegate.zips.dir}/@{zipPath}
+DEST = ${aggregate.zips.dir}/@{zipPath}
</echo>
- <echo> Zip URL = ${location.cleaned}/@{zipPath}</echo>
+ <echo level="verbose"> Zip URL =
${location.cleaned}/@{zipPath}</echo>
<if>
<isset property="isTest" />
<then>
- <touch file="${aggegate.zips.dir}/@{zipPath}" />
+ <!-- create a fake file of variable length (rather than using touch for
zero-length one) -->
+ <echo
file="${aggregate.zips.dir}/@{zipPath}">${aggregate.zips.dir}/(a){zipPath}</echo>
</then>
<else>
<var name="wget.return" unset="true" />
- <exec executable="wget" dir="${aggegate.zips.dir}"
failonerror="false" failifexecutionfails="false"
resultproperty="wget.return" outputproperty="null">
- <arg line="${location.cleaned}/@{zipPath} -q --no-clobber"
/>
+ <exec executable="wget"
dir="${aggregate.zips.dir}/${relativePath}" failonerror="false"
failifexecutionfails="false" resultproperty="wget.return"
outputproperty="null">
+ <arg line="${location.cleaned}/@{zipPath} -q --no-clobber
--tries=3" />
</exec>
- <!--get src="${location.cleaned}/@{zipPath}"
dest="${aggegate.zips.dir}/@{zipPath}" /-->
<if>
<not>
<equals arg1="${wget.return}" arg2="0" />
</not>
<then>
- <echo> ** Error [${wget.return}] ** Could not wget
${location.cleaned}/@{zipPath}</echo>
+ <echo> ** Error(@{i}) [${wget.return}] ** Could not wget
${location.cleaned}/@{zipPath}</echo>
</then>
</if>
</else>
</if>
+
+ <if>
+ <available file="${aggregate.zips.dir}/@{zipPath}"
type="file" />
+ <then>
+ <!-- set variable for filename -->
+ <echo file="${aggregate.zips.dir}/build.properties.file.txt"
append="true">${filePrefix}.filename = @{zipPath}
+</echo>
+ <!-- set variable for filesize in Kb -->
+ <length file="${aggregate.zips.dir}/@{zipPath}"
property="fs.length.b" />
+ <!-- <math operand2="${fs.length.b}" operation="/"
operand1="1024" result="fs.length.kb" datatype="float" />
-->
+ <!-- <math operand2="${fs.length.b}" operation="/"
operand1="1048576" result="fs.length.mb"
datatype="float"/> -->
+ <!-- <echo
level="verbose">${aggregate.zips.dir}/@{zipPath}: ${fs.length.kb} Kb,
${fs.length.mb} Mb</echo> -->
+ <echo file="${aggregate.zips.dir}/build.properties.file.txt"
append="true">${filePrefix}.filesize = ${fs.length.b}
+</echo>
+ <var name="fs.length.b" unset="true" />
+ <var name="fs.length.kb" unset="true" />
+
+ <!-- set variable for filemd5 -->
+ <checksum file="${aggregate.zips.dir}/@{zipPath}"
property="${filePrefix}.filemd5" />
+ <propertycopy from="${filePrefix}.filemd5"
property="tempmd5" />
+ <echo file="${aggregate.zips.dir}/build.properties.file.txt"
append="true">${filePrefix}.filemd5 = ${tempmd5}
+</echo>
+ <var name="${filePrefix}.filemd5" unset="true" />
+ <var name="tempmd5" unset="true" />
+ </then>
+ </if>
+
+ <!-- rename the svn and build properties files so they align with the zip
names -->
+ <if>
+ <available file="${svnRevTXT}" type="file" />
+ <then>
+ <copy file="${svnRevTXT}"
tofile="${aggregate.zips.dir}/${svnrevPath}.txt" />
+ </then>
+ </if>
+ <if>
+ <available file="${svnRevXML}" type="file" />
+ <then>
+ <copy file="${svnRevXML}"
tofile="${aggregate.zips.dir}/${svnrevPath}.xml" />
+ </then>
+ </if>
+ <if>
+ <available file="${buildProperties}" type="file" />
+ <then>
+ <copy file="${buildProperties}"
tofile="${aggregate.zips.dir}/${buildPropertiesPath}.txt" />
+ </then>
+ </if>
</sequential>
</for>
<var name="relativePath" unset="true" />
+ <var name="svnrevPath" unset="true" />
+ <var name="buildPropertiesPath" unset="true" />
</then>
</if>
<var unset="true" name="ALL_ZIPS" />
- <delete file="${aggegate.zips.dir}/zip.list.txt" quiet="true"
/>
</then>
<else>
<echo> ** Error [${wget.return}] ** Could not wget
${location.cleaned}/logs/zip.list.txt</echo>
</else>
</if>
<var name="location.cleaned" unset="true" />
+ <delete quiet="true">
+ <fileset dir="${aggregate.zips.dir}" includes="zip.list.txt,
SVN_REVISION.txt, SVN_REVISION.xml, build.properties" />
+ </delete>
+ <var name="svnRevFile" unset="true" />
</sequential>
</macrodef>
@@ -129,20 +210,21 @@
<macrodef name="fetchZipsFromMetadata">
<attribute name="repo" default="" />
<sequential>
- <echo level="verbose">repo = @{repo}</echo>
- <!-- if no zip.list.txt from the inputRepo, then fetch from
@{repo}/compositeArtifacts.xml instead -->
+ <var name="location.cleaned" value="@{repo}" />
+ <echo level="verbose">repo = ${location.cleaned}</echo>
+ <!-- if no zip.list.txt from the inputRepo, then fetch from
${location.cleaned}/compositeArtifacts.xml instead -->
<var name="wget.return" unset="true" />
- <exec executable="wget" dir="${aggegate.zips.dir}"
failonerror="false" failifexecutionfails="true"
resultproperty="wget.return" outputproperty="null">
- <arg line="(a){repo}/compositeArtifacts.xml -q --no-clobber" />
+ <exec executable="wget" dir="${aggregate.zips.dir}"
failonerror="false" failifexecutionfails="false"
resultproperty="wget.return" outputproperty="null">
+ <arg line="${location.cleaned}/compositeArtifacts.xml -q --no-clobber
--tries=3" />
</exec>
<if>
<and>
<equals arg1="${wget.return}" arg2="0" />
- <available file="${aggegate.zips.dir}/compositeArtifacts.xml"
type="file" />
+ <available file="${aggregate.zips.dir}/compositeArtifacts.xml"
type="file" />
</and>
<then>
- <echo level="verbose">Got
${aggegate.zips.dir}/compositeArtifacts.xml</echo>
- <xmlproperty file="${aggegate.zips.dir}/compositeArtifacts.xml"
validate="false" collapseAttributes="true" />
+ <echo level="verbose">Got
${aggregate.zips.dir}/compositeArtifacts.xml</echo>
+ <xmlproperty file="${aggregate.zips.dir}/compositeArtifacts.xml"
validate="false" collapseAttributes="true" />
<echo level="verbose">Found ${repository.children.size} contained
repos to search</echo>
<!-- foreach entry repository.children.child.location -->
<for param="location"
list="${repository.children.child.location}">
@@ -151,10 +233,10 @@
<fetchZipsFromList repo="@{location}" />
</sequential>
</for>
- <delete file="${aggegate.zips.dir}/compositeArtifacts.xml"
quiet="true" />
+ <delete file="${aggregate.zips.dir}/compositeArtifacts.xml"
quiet="true" />
</then>
<else>
- <echo> ** Error [${wget.return}] ** Could not wget
@{repo}/compositeArtifacts.xml</echo>
+ <echo> ** Error [${wget.return}] ** Could not wget
${location.cleaned}/compositeArtifacts.xml</echo>
</else>
</if>
</sequential>
@@ -292,9 +374,9 @@
<!-- look for
http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.2.0.M2.c...;
if found, load file and use ${ALL_ZIPS} to get list of relative path zips to fetch
-->
<target name="collect.zips" description="collect zips from the sites
we aggregated">
- <property name="aggegate.zips.dir" value="${output.dir}/zips"
/>
- <delete dir="${aggegate.zips.dir}" quiet="true" />
- <mkdir dir="${aggegate.zips.dir}" />
+ <property name="aggregate.zips.dir" value="${output.dir}/zips"
/>
+ <delete dir="${aggregate.zips.dir}" quiet="true" />
+ <mkdir dir="${aggregate.zips.dir}" />
<for list="${inputRepos}" delimiter=", "
keepgoing="true" param="repoNum">
<sequential>
<var name="repo" value="${inputRepo@{repoNum}}" />
@@ -311,13 +393,11 @@
</for>
</target>
- <target name="custom.build" description="aggregate update site
extras"
depends="init,check.target,add.associate.sites,add.web.content,pack.zip,collect.zips"
/>
-
<target name="test.collect.zips.from.metadata"
depends="init">
<property name="isTest" value="true" />
<antcall target="collect.zips">
<param name="inputRepos" value="1" />
- <param name="inputRepo1"
value="http://download.jboss.org/jbosstools/builds/staging/_composit...
/>
+ <param name="inputRepo1"
value="http://download.jboss.org/jbosstools/builds/staging/_composit...
/>
</antcall>
</target>
@@ -329,15 +409,26 @@
</antcall>
</target>
- <target name="test.collect.zips.from.list" depends="init">
+ <target name="test.collect.zips.from.list.xml"
depends="init">
<property name="isTest" value="true" />
<antcall target="collect.zips">
+ <param name="inputRepos" value="1,2,3,4" />
+ <param name="inputRepo1"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
+ <param name="inputRepo2"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
+ <param name="inputRepo3"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
+ <param name="inputRepo4"
value="http://download.jboss.org/jbosstools/builds/staging/xulrunner...
/>
+ </antcall>
+ </target>
+
+ <target name="test.collect.zips.from.list.txt"
depends="init">
+ <property name="isTest" value="true" />
+ <antcall target="collect.zips">
<param name="inputRepos" value="1,2,3,4,5" />
- <param name="inputRepo1"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
- <param name="inputRepo2"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
- <param name="inputRepo3"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
- <param name="inputRepo4"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
- <param name="inputRepo5"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
+ <param name="inputRepo1"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
+ <param name="inputRepo2"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
+ <param name="inputRepo3"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
+ <param name="inputRepo4"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
+ <param name="inputRepo5"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
</antcall>
</target>
@@ -345,16 +436,175 @@
<property name="isTest" value="true" />
<antcall target="collect.zips">
<param name="inputRepos" value="1,2" />
- <param name="inputRepo2"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
+ <param name="inputRepo2"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
</antcall>
</target>
- <target name="test.collect.zips"
depends="test.collect.zips.from.metadata,test.collect.zips.from.list">
- <delete dir="${aggegate.zips.dir}" quiet="true" />
+ <target name="test.collect.zips"
depends="test.collect.zips.from.metadata,test.collect.zips.from.list.txt,test.collect.zips.from.list.xml">
+ <delete dir="${aggregate.zips.dir}" quiet="true" />
</target>
<target name="test.collect.zips.with.error"
depends="test.collect.zips.from.metadata.with.errors,test.collect.zips.from.list.with.errors">
- <delete dir="${aggegate.zips.dir}" quiet="true" />
+ <delete dir="${aggregate.zips.dir}" quiet="true" />
</target>
+ <target name="collect.metadata" description="collect svn revision info
+ other metadata (JOB_NAME, BUILD_ID, BUILD_NUMBER, WORKSPACE, HUDSON_SLAVE), zip file
names+sizes+md5sums">
+ <property name="aggregate.zips.dir" value="${output.dir}/zips"
/>
+
+ <!-- load file properties (name, size, md5sum) -->
+ <if>
+ <available file="${aggregate.zips.dir}/build.properties.file.txt"
type="file" />
+ <then>
+ <property file="${aggregate.zips.dir}/build.properties.file.txt" />
+ </then>
+ </if>
+
+ <!-- for all build.properties.txt files in zips/ folder -->
+ <for param="propsfile">
+ <path>
+ <fileset dir="${aggregate.zips.dir}"
includes="*.build.properties.txt, **/*.build.properties.txt" />
+ </path>
+ <sequential>
+ <!-- load properties file using a prefix which relates to the associated prop file
-->
+ <propertyregex override="true" property="prefix"
defaultvalue="" input="@{propsfile}"
regexp=".+/([^/]+\.build\.properties)\.txt" replace="\1" />
+ <echo level="verbose">Read ${prefix} from @{propsfile}</echo>
+
+ <property file="@{propsfile}" prefix="${prefix}" />
+
+ <!-- now load SVN revs -->
+ <propertyregex override="true" property="svnrevTXT"
defaultvalue="" input="@{propsfile}"
regexp="\.build\.properties\.txt" replace=".SVN_REVISION.txt" />
+ <propertyregex override="true" property="svnrevXML"
defaultvalue="" input="@{propsfile}"
regexp="\.build\.properties\.txt" replace=".SVN_REVISION.xml" />
+ <if>
+ <available file="${svnrevXML}" type="file" />
+ <then>
+ <!-- XML way: load into .revision.module and .revision.revision -->
+ <xmlproperty file="${svnrevXML}" collapseAttributes="true"
prefix="${prefix}" keeproot="false" />
+ <!-- purge the "<changeSet><kind>" entry if present
-->
+ <if>
+ <isset property="${prefix}.kind" />
+ <then>
+ <var name="${prefix}.kind" unset="true" />
+ </then>
+ </if>
+
+ <!-- TXT way: load into .SVN_REVISION -->
+ <propertycopy from="${prefix}.revision.module"
property="temprm.all" override="true" />
+ <propertycopy from="${prefix}.revision.revision"
property="temprr.all" override="true" />
+ <var name="i" value="0" />
+ <for list="${temprm.all}" delimiter=", "
param="module">
+ <sequential>
+ <math result="i" operand1="1" operation="+"
operand2="${i}" datatype="int" />
+ <var name="j" value="0" />
+ <for list="${temprr.all}" delimiter=", "
param="revision">
+ <sequential>
+ <math result="j" operand1="1" operation="+"
operand2="${j}" datatype="int" />
+ <if>
+ <equals arg1="${i}" arg2="${j}" />
+ <then>
+ <var name="temprr" value="@{revision}" />
+ <if>
+ <isset property="${prefix}.SVN_REVISION" />
+ <then>
+ <propertycopy from="${prefix}.SVN_REVISION"
property="temp.all" override="true" />
+ <var name="${prefix}.SVN_REVISION"
value="${temp.all},@{module}@${temprr}" />
+ <var name="temp.all" unset="true" />
+ </then>
+ <else>
+ <var name="${prefix}.SVN_REVISION"
value="@{module}@${temprr}" />
+ </else>
+ </if>
+ <var name="temprr" unset="true" />
+ </then>
+ </if>
+ </sequential>
+ </for>
+ <var name="j" unset="true" />
+ </sequential>
+ </for>
+ <var name="i" unset="true" />
+ <var name="temprm.all" unset="true" />
+ <var name="temprr.all" unset="true" />
+ </then>
+ <elseif>
+ <available file="${svnrevTXT}" type="file" />
+ <then>
+ <!-- TXT way: load into .SVN_REVISION -->
+ <loadfile property="${prefix}.SVN_REVISION"
srcFile="${svnrevTXT}" />
+ <propertycopy from="${prefix}.SVN_REVISION" property="temp"
/>
+ <propertyregex override="true" property="temp"
defaultvalue="${temp}" input="${temp}" regexp="[ \n\t]+"
replace="," />
+ <propertyregex override="true"
property="${prefix}.SVN_REVISION" defaultvalue="${temp}"
input="${temp}" regexp=",$" replace="" />
+
+ <!-- XML way: load into .revision.module and .revision.revision -->
+ <for list="${temp}" delimiter=","
param="pair">
+ <sequential>
+ <propertyregex override="true" property="temprm"
defaultvalue="@{pair}" input="@{pair}" regexp="(.+)(a)(.+)"
replace="\1" />
+ <propertyregex override="true" property="temprr"
defaultvalue="@{pair}" input="@{pair}" regexp="(.+)(a)(.+)"
replace="\2" />
+ <if>
+ <isset property="${prefix}.revision.module" />
+ <then>
+ <propertycopy from="${prefix}.revision.module"
property="temprm.all" override="true" />
+ <propertycopy from="${prefix}.revision.revision"
property="temprr.all" override="true" />
+ <var name="${prefix}.revision.module"
value="${temprm.all},${temprm}" />
+ <var name="${prefix}.revision.revision"
value="${temprr.all},${temprr}" />
+ <var name="temprm.all" unset="true" />
+ <var name="temprr.all" unset="true" />
+ </then>
+ <else>
+ <var name="${prefix}.revision.module" value="${temprm}"
/>
+ <var name="${prefix}.revision.revision"
value="${temprr}" />
+ </else>
+ </if>
+ <var name="temprm" unset="true" />
+ <var name="temprr" unset="true" />
+ </sequential>
+ </for>
+ <var name="temp" unset="true" />
+ </then>
+ </elseif>
+ </if>
+
+ <var name="prefix" unset="true" />
+ </sequential>
+
+ </for>
+ <for param="svnrevfile">
+ <path>
+ <fileset dir="${aggregate.zips.dir}" includes="*.SVN_REVISION.txt,
**/*.SVN_REVISION.txt" />
+ </path>
+ <sequential>
+ <!-- load properties file using a prefix which relates to the associated prop file
-->
+ <propertyregex override="true" property="prefix"
defaultvalue="" input="@{propsfile}"
regexp=".+/([^/]+\.build\.properties)\.txt" replace="\1" />
+ <echo level="verbose">Read ${prefix} from @{propsfile}</echo>
+
+ <property file="@{propsfile}" prefix="${prefix}" />
+
+ <var name="prefix" unset="true" />
+ </sequential>
+
+ </for>
+ <!-- dump properties to an XML file, filtering for only those properties we care
about -->
+ <echoproperties format="xml"
destfile="${aggregate.zips.dir}/build.properties.all.xml">
+ <propertyset>
+ <propertyref regex=".*\.build\.properties" />
+ </propertyset>
+ </echoproperties>
+
+ </target>
+
+ <target name="test.collect.metadata" depends="init">
+ <property name="isTest" value="true" />
+ <antcall target="collect.metadata">
+ </antcall>
+ </target>
+
+ <!-- TODO: write this method -->
+ <target name="create.summary.file" description="create summary file
with list of generated files, sizes, and SVN revisions all linked and ordered by source
build job">
+ </target>
+
+ <target name="test.create.summary.file"
depends="test.collect.zips,test.collect.metadata">
+ <property name="isTest" value="true" />
+ <antcall target="create.summary.file">
+ </antcall>
+ </target>
+
</project>