[jbosstools-commits] JBoss Tools SVN: r23501 - branches/jbosstools-3.2.0.M1/build/results.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Jul 16 11:21:27 EDT 2010


Author: nickboldt
Date: 2010-07-16 11:21:27 -0400 (Fri, 16 Jul 2010)
New Revision: 23501

Modified:
   branches/jbosstools-3.2.0.M1/build/results/build.xml
Log:
port from trunk

Modified: branches/jbosstools-3.2.0.M1/build/results/build.xml
===================================================================
--- branches/jbosstools-3.2.0.M1/build/results/build.xml	2010-07-16 15:04:31 UTC (rev 23500)
+++ branches/jbosstools-3.2.0.M1/build/results/build.xml	2010-07-16 15:21:27 UTC (rev 23501)
@@ -11,15 +11,12 @@
 		<available file="${WORKSPACE}/results" />
 	</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> -->
 	<condition property="WORKINGDIR" value="${WORKSPACE}/sources" else="${basedir}/../..">
 		<available file="${WORKSPACE}/sources" type="dir" />
 	</condition>
+	<property name="input.dir" value="${WORKINGDIR}" />
 
 	<mkdir dir="${WORKINGDIR}" />
-	<echo level="info">WORKINGDIR = ${WORKINGDIR}</echo>
 
 	<condition property="COMMON_TOOLS" value="/home/hudson/static_build_env/jbds/tools">
 		<available file="/home/hudson/static_build_env/jbds" type="dir" />
@@ -28,7 +25,6 @@
 		<available file="${WORKINGDIR}/../tools" type="dir" />
 	</condition>
 	<mkdir dir="${COMMON_TOOLS}" />
-	<echo level="info">COMMON_TOOLS = ${COMMON_TOOLS}</echo>
 
 	<condition property="build.xml" value="/home/hudson/static_build_env/jbds/tools/sources/build/build.xml">
 		<available file="/home/hudson/static_build_env/jbds/tools/sources/build/build.xml" type="file" />
@@ -91,11 +87,16 @@
 			3. manually copy the contents of this file into a page under 
 				http://www.jboss.org/tools/downloads/
 		-->
+		<echo level="info">ZIPSUFFIX = ${ZIPSUFFIX}
+WORKINGDIR = ${WORKINGDIR}
+COMMON_TOOLS = ${COMMON_TOOLS}
+input.dir = ${input.dir}
+output.dir = ${output.dir}</echo>
 		<for param="UPDATEZIP">
 			<path>
-				<fileset dir="${WORKINGDIR}/site">
-					<include name="*-Update-${ZIPSUFFIX}.zip" />
-					<include name="*-Sources-${ZIPSUFFIX}.zip" />
+				<fileset dir="${input.dir}">
+					<include name="**/*-Update-${ZIPSUFFIX}.zip" />
+					<include name="**/*-Sources-${ZIPSUFFIX}.zip" />
 				</fileset>
 			</path>
 			<sequential>
@@ -145,14 +146,11 @@
 				<property name="${COMPONENT}-filename" value="${filename}" />
 
 				<get.size file="@{UPDATEZIP}" property="${COMPONENT}-filesize" />
-
-				<!-- 
 				<var name="filesize" unset="true" />
 				<propertycopy from="${COMPONENT}-filesize" property="filesize" override="true" silent="true" />
 				<echo level="info">filesize =  ${filesize}</echo>
 				<echo level="info">filename =  ${filename}</echo>
 				<var name="filesize" unset="true" /> 
-				-->
 				<var name="filename" unset="true" />
 			</sequential>
 		</for>



More information about the jbosstools-commits mailing list