Skip to content
Snippets Groups Projects
Commit 8dcb2f01 authored by david_williams's avatar david_williams
Browse files

fix versioning report

parent 93e77f19
No related branches found
No related tags found
No related merge requests found
......@@ -51,8 +51,8 @@
<fail
message="Error: missing property. library-file must be provided"
unless="library-file"/>
<echo
message="basedir: ${basedir}"/>
<echo
......@@ -98,9 +98,7 @@
quiet="true"/>
<mkdir
dir="${workspace}"/>
<available
file="${buildDirectory}/${buildLabel}/versioningReport_${buildLabel}.xml"
property="reportAvailable" />
</target>
<!--
This suite target defines the tests that need to be run.
......@@ -122,7 +120,7 @@
value="${classname}"/>
<property
name="extraVMargs"
value="-DrelengTestsPropertiesFile=${keyCfgFile} -DrepoURLToTest=file://${buildDirectory}/${buildLabel}/repository/ -DcomparatorLogLocation=${buildDirectory}/${buildLabel} -DcomparatorTestSummaryLogDir=${buildDirectory}/${buildLabel}/testResults -DcomparatorFilterRules=${buildDirectory}/${buildLabel}/comparatorfilter.properties" />
value="-DrelengTestsPropertiesFile=${keyCfgFile} -DrepoURLToTest=file://${buildDirectory}/${buildLabel}/repository/ -DcomparatorLogLocation=${buildDirectory}/${buildLabel} -DcomparatorTestSummaryLogDir=${buildDirectory}/${buildLabel}/testResults -DcomparatorFilterRules=${buildDirectory}/${buildLabel}/comparatorfilter.properties"/>
</ant>
<condition
property="dotlogavailable">
......@@ -166,6 +164,7 @@
</target>
<target
name="copyxsl"
depends="checkReport"
if="reportAvailable">
<!-- copy our particular xsl files to web directory for prosperity-->
<copy
......@@ -178,7 +177,7 @@
</fileset>
</copy>
<!-- and use them to create basic HTML display, if there is a report -->
<xslt
<xslt
basedir="${buildDirectory}/${buildLabel}/"
includes="versioningReport_${buildLabel}.xml"
destdir="${buildDirectory}/${buildLabel}/"
......@@ -189,4 +188,11 @@
<![CDATA[<?php $versionReportFilename="versioningReport_${buildLabel}" ?>]]>
</echo>
</target>
<target
name="checkReport">
<available
file="${buildDirectory}/${buildLabel}/versioningReport_${buildLabel}.xml"
property="reportAvailable"/>
</target>
</project>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment