Author: nickboldt
Date: 2011-05-30 01:13:12 -0400 (Mon, 30 May 2011)
New Revision: 31615
Modified:
branches/jbosstools-3.2.x/build/results/build.xml
Log:
check in two places for properties file to drive results page generation
Modified: branches/jbosstools-3.2.x/build/results/build.xml
===================================================================
--- branches/jbosstools-3.2.x/build/results/build.xml 2011-05-30 05:02:59 UTC (rev 31614)
+++ branches/jbosstools-3.2.x/build/results/build.xml 2011-05-30 05:13:12 UTC (rev 31615)
@@ -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>
Show replies by date