[jbosstools-commits] JBoss Tools SVN: r23375 - trunk/build/results.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Jul 12 16:02:34 EDT 2010


Author: nickboldt
Date: 2010-07-12 16:02:33 -0400 (Mon, 12 Jul 2010)
New Revision: 23375

Modified:
   trunk/build/results/build.xml
Log:
fix defaults

Modified: trunk/build/results/build.xml
===================================================================
--- trunk/build/results/build.xml	2010-07-12 19:56:57 UTC (rev 23374)
+++ trunk/build/results/build.xml	2010-07-12 20:02:33 UTC (rev 23375)
@@ -1,13 +1,16 @@
 <project default="build.results">
 
-	<property name="output.dir" value="${basedir}" />
-
 	<!-- should be set by script or in Hudson -->
 	<property name="ZIPSUFFIX" value="SNAPSHOT" />
 
 	<!-- should be set by Hudson -->
 	<!-- <property name="JOB_NAME" value="jbosstools-3.2.0.M2.continuous" /> -->
 
+	<!-- if ${WORKSPACE}/site folder exists, target that folder; else generate here. -->
+	<condition property="output.dir" value="${WORKSPACE}/site" else="${basedir}">
+		<available file="${WORKSPACE}/site" />
+	</condition>
+
 	<condition property="WORKINGDIR" value="/home/hudson/static_build_env/jbds/tools/sources" else="${basedir}/../..">
 		<available file="/home/hudson/static_build_env/jbds" type="dir" />
 	</condition>



More information about the jbosstools-commits mailing list