[jboss-cvs] JBossAS SVN: r57433 - trunk/tools/etc/cruisecontrol/jbossnative

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 4 19:47:46 EDT 2006


Author: rrajesh
Date: 2006-10-04 19:47:45 -0400 (Wed, 04 Oct 2006)
New Revision: 57433

Modified:
   trunk/tools/etc/cruisecontrol/jbossnative/daemon-windows.xml
Log:
Uses windowsbuild.bat from the subversion repository

Modified: trunk/tools/etc/cruisecontrol/jbossnative/daemon-windows.xml
===================================================================
--- trunk/tools/etc/cruisecontrol/jbossnative/daemon-windows.xml	2006-10-04 22:31:08 UTC (rev 57432)
+++ trunk/tools/etc/cruisecontrol/jbossnative/daemon-windows.xml	2006-10-04 23:47:45 UTC (rev 57433)
@@ -2,7 +2,15 @@
 
 	<property name="address" value=""/>
 	<property name="port" value="7070"/>
-		
+
+    <path id="project.classpath">
+        <fileset dir="svnant/lib/">
+            <include name="*.jar"/>
+        </fileset>
+    </path>
+            	
+    <taskdef resource="svntask.properties" classpathref="project.classpath"/>
+	
 	<!-- Remote ant -->
 	<taskdef resource="org/jboss/ant/remoteant.properties">
 		<classpath>
@@ -15,11 +23,17 @@
 	</target>
 	
     <target name="buildNative">
+    	<delete file="windowsbuild.bat"/>
     	<delete dir="jbossnative"/>
     	<delete dir="jbossnative-${jbossnative.version}-win32-src"/>
     	<delete file="jbossnative-${jbossnative.version}-win32-src.zip"/>
+    	
+        <svn>
+            <checkout url="http://anonsvn.jboss.org/repos/jbossnative/trunk/build/daemon/" destPath="."/>
+        </svn>
+        	
         <exec dir="." executable="cmd.exe" output="windows-build.log">
-                <arg line="/c daemonbuild.bat"/>
+                <arg line="/c windowsbuild.bat"/>
         </exec>
     </target>
 
@@ -32,6 +46,8 @@
 		todir="cruisecontrol at dev03.qa.atl.jboss.com:/home/cruisecontrol/work/jbossnative-builder/output/${platform}" keyfile="cc" passphrase="cruise"/>
         <scp file="jboss-native-${jbossnative.version}-win32-src/dist/jboss-native-${jbossnative.version}-${platform}-ia64.zip" trust="yes"
 		todir="cruisecontrol at dev03.qa.atl.jboss.com:/home/cruisecontrol/work/jbossnative-builder/output/${platform}" keyfile="cc" passphrase="cruise"/>    	
+        <scp file="jboss-native-${jbossnative.version}-win32-src.zip" trust="yes"
+		todir="cruisecontrol at dev03.qa.atl.jboss.com:/home/cruisecontrol/work/jbossnative-builder/output/${platform}" keyfile="cc" passphrase="cruise"/>    	
         <scp file="windows-build.log" trust="yes"
 		todir="cruisecontrol at dev03.qa.atl.jboss.com:/home/cruisecontrol/work/jbossnative-builder/output/${platform}" keyfile="cc" passphrase="cruise"/>     	
     </target>




More information about the jboss-cvs-commits mailing list