Author: nickboldt
Date: 2011-05-30 01:13:13 -0400 (Mon, 30 May 2011)
New Revision: 31616
Modified:
trunk/build/results/build.xml
Log:
check in two places for properties file to drive results page generation
Modified: trunk/build/results/build.xml
===================================================================
--- trunk/build/results/build.xml 2011-05-30 05:13:12 UTC (rev 31615)
+++ trunk/build/results/build.xml 2011-05-30 05:13:13 UTC (rev 31616)
@@ -134,18 +134,22 @@
</target>
<target name="buildResults" description="generate buildResults.html
from build properties" depends="init">
- <if>
- <available file="zips/build.properties.all.xml"
type="file"/>
- <then>
- <delete quiet="true" file="buildResults.out.html" />
- <xslt in="zips/build.properties.all.xml"
out="buildResults.out.html" style="buildResults.xsl"
force="true">
- <classpath location="${COMMON_TOOLS}/saxon.jar" />
- </xslt>
- </then>
- <else>
- <echo>Could not generate buildResults.out.html from
zips/build.properties.all.xml - file does not exist!</echo>
- </else>
- </if>
+ <for param="propertiesFile" delimiter=", "
list="zips/build.properties.all.xml,
../../logs/zips/build.properties.all.xml">
+ <sequential>
+ <if>
+ <available file="@{propertiesFile}" type="file"/>
+ <then>
+ <delete quiet="true" file="buildResults.out.html" />
+ <xslt in="@{propertiesFile}" out="buildResults.out.html"
style="buildResults.xsl" force="true">
+ <classpath location="${COMMON_TOOLS}/saxon.jar" />
+ </xslt>
+ </then>
+ <else>
+ <echo>Could not generate buildResults.out.html from
zips/build.properties.all.xml - file does not exist!</echo>
+ </else>
+ </if>
+ </sequential>
+ </for>
</target>
</project>