Author: nickboldt
Date: 2011-09-01 10:16:41 -0400 (Thu, 01 Sep 2011)
New Revision: 34480
Modified:
branches/jbosstools-3.3.0.M3/build/results/build.xml
Log:
port changes from trunk to fix bottests publishing
Modified: branches/jbosstools-3.3.0.M3/build/results/build.xml
===================================================================
--- branches/jbosstools-3.3.0.M3/build/results/build.xml 2011-09-01 12:45:16 UTC (rev
34479)
+++ branches/jbosstools-3.3.0.M3/build/results/build.xml 2011-09-01 14:16:41 UTC (rev
34480)
@@ -61,6 +61,13 @@
</classpath>
</taskdef>
+ <condition property="aggregate_site_build.xml"
value="${basedir}/../aggregate/site/build.xml">
+ <available file="${basedir}/../aggregate/site/build.xml"
type="file" />
+ </condition>
+ <condition property="aggregate_site_build.xml"
value="${basedir}/../aggregate/site/site/build.xml">
+ <available file="${basedir}/../aggregate/site/site/build.xml"
type="file" />
+ </condition>
+
<available file="${COMMON_TOOLS}/saxon.jar" type="file"
property="saxon.jar.exists" />
<antcall target="get.saxon" />
@@ -102,47 +109,47 @@
<!-- NEW STUFF HERE -->
<target name="buildResults.single" depends="init"
description="generate buildResults.html from build properties">
- <ant target="collect.zips"
antfile="../aggregate/site/build.xml">
+ <ant target="collect.zips"
antfile="${aggregate_site_build.xml}">
<property name="inputRepos" value="2" />
<property name="inputRepo1"
value="file://${input.dir}/all/repo/" />
<property name="inputRepo2"
value="http://download.jboss.org/jbosstools/builds/staging/${JOB_NAM...
/>
</ant>
- <ant target="collect.metadata"
antfile="../aggregate/site/build.xml">
+ <ant target="collect.metadata"
antfile="${aggregate_site_build.xml}">
</ant>
<antcall target="buildResults" />
</target>
<target name="buildResults.aggregate" depends="init"
description="generate buildResults.html from build properties">
- <ant target="collect.zips"
antfile="../aggregate/site/build.xml">
+ <ant target="collect.zips"
antfile="${aggregate_site_build.xml}">
<property name="inputRepos" value="2" />
<property name="inputRepo1"
value="file://${input.dir}/all/repo/" />
<!-- for trunk use _composite_/trunk; for 3.3_stable_branch, use
_composite_/3.3.indigo -->
<property name="inputRepo2"
value="http://download.jboss.org/jbosstools/builds/staging/_composit...
/>
</ant>
- <ant target="collect.metadata"
antfile="../aggregate/site/build.xml">
+ <ant target="collect.metadata"
antfile="${aggregate_site_build.xml}">
</ant>
<antcall target="buildResults" />
</target>
<target name="test.buildResults.aggregate" depends="init"
description="generate buildResults.html from build properties">
<property name="isTest" value="true" />
- <ant target="collect.zips"
antfile="../aggregate/site/build.xml">
+ <ant target="collect.zips"
antfile="${aggregate_site_build.xml}">
<property name="inputRepos" value="1" />
<!-- for trunk use _composite_/trunk; for 3.3_stable_branch, use
_composite_/3.3.indigo -->
<property name="inputRepo1"
value="http://download.jboss.org/jbosstools/builds/staging/_composit...
/>
</ant>
- <ant target="collect.metadata"
antfile="../aggregate/site/build.xml">
+ <ant target="collect.metadata"
antfile="${aggregate_site_build.xml}">
</ant>
<antcall target="buildResults" />
</target>
<target name="test.buildResults.single" depends="init"
description="generate buildResults.html from build properties">
<property name="isTest" value="true" />
- <ant target="collect.zips"
antfile="../aggregate/site/build.xml">
+ <ant target="collect.zips"
antfile="${aggregate_site_build.xml}">
<property name="inputRepos" value="1" />
<property name="inputRepo1"
value="http://download.jboss.org/jbosstools/builds/staging/jbosstool...
/>
</ant>
- <ant target="collect.metadata"
antfile="../aggregate/site/build.xml">
+ <ant target="collect.metadata"
antfile="${aggregate_site_build.xml}">
</ant>
<antcall target="buildResults" />
</target>