[jboss-cvs] test-agent/src/templates ...

Rajesh Rajasekaran rajesh.rajasekaran at jboss.com
Thu Sep 21 17:39:03 EDT 2006


  User: rrajasekaran
  Date: 06/09/21 17:39:03

  Modified:    src/templates   projects.xml projecttemplate.vm
  Log:
  Updated to use subversion repositories
  
  Revision  Changes    Path
  1.19      +8 -19     test-agent/src/templates/projects.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: projects.xml
  ===================================================================
  RCS file: /cvsroot/jboss/test-agent/src/templates/projects.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -b -r1.18 -r1.19
  --- projects.xml	17 May 2006 15:34:29 -0000	1.18
  +++ projects.xml	21 Sep 2006 21:39:03 -0000	1.19
  @@ -32,13 +32,11 @@
   	   name="jboss-3.2"
   	   buildafterfailed="true"
   	   modificationset="jboss-3.2"
  -	   tag="Branch_3_2"
   	   requiremodification="false"
   	   scheduleinterval="604800"
   	   buildfile="build-jboss-common.xml"
   	   target="test sendresults"
  -	   cvsbranch="Branch_3_2"
  -	   cvsmodule="jboss-3.2.x"
  +	   svnurl="http://anonsvn.jboss.org/repos/jbossas/branches/Branch_3_2/"
   	   jbossdir="jboss-3.2">
     </project>   
       
  @@ -47,13 +45,11 @@
              name="jboss-4.0"
              buildafterfailed="true"
              modificationset="jboss-4.0"
  -           tag="Branch_4_0"
   	   requiremodification="false"           
              scheduleinterval="604800"
              buildfile="build-jboss-common.xml"
              target="test sendresults"
  -           cvsbranch="Branch_4_0"
  -           cvsmodule="jboss-4.0.x"
  +		   svnurl="http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_0"
              jbossdir="jboss-4.0">
     </project>  
     
  @@ -61,13 +57,11 @@
              name="jboss-4.0.4.GA"
              buildafterfailed="true"
              modificationset="jboss-4.0.4.GA"
  -           tag="Branch_4_0"
   	   requiremodification="false"           
              scheduleinterval="604800"
              buildfile="build-jboss-common.xml"
              target="test sendresults"
  -           cvsbranch="JBoss_4_0_4_GA"
  -           cvsmodule="jboss-4.0.x"
  +		   svnurl="http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_4_0_4_GA/"
              jbossdir="jboss-4.0.4.GA">
     </project>
     
  @@ -79,8 +73,7 @@
              scheduleinterval="604800"
              buildfile="build-jboss-common.xml"
              target="test sendresults"
  -           cvsbranch="HEAD"
  -           cvsmodule="jboss-head"
  +		   svnurl="http://anonsvn.jboss.org/repos/jbossas/trunk/"
              jbossdir="jboss-head">
     </project>
   
  @@ -88,13 +81,11 @@
              name="jboss-4.0.3SP1"
              buildafterfailed="true"
              modificationset="jboss-4.0.3SP1"
  -           tag="Branch_4_0"
              requiremodification="false"
              scheduleinterval="604800"
              buildfile="build-jboss-common.xml"
              target="test sendresults"
  -           cvsbranch="JBoss_4_0_3_SP1"
  -           cvsmodule="jboss-4.0.x"
  +		   svnurl="http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_4_0_3_SP1/"
              jbossdir="jboss-4.0.3SP1">
     </project>
   
  @@ -103,16 +94,14 @@
              name="jboss-3.2.8.SP1"
              buildafterfailed="true"
              modificationset="jboss-3.2.8.SP1"
  -           tag="JBoss_3_2_8_SP1"
              requiremodification="false"
              scheduleinterval="604800"
              buildfile="build-jboss-common.xml"
              target="test sendresults"
  -           cvsbranch="JBoss_3_2_8_SP1"
  -           cvsmodule="jboss-3.2.x"
  +		   svnurl="http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_3_2_8_SP1/"
              jbossdir="jboss-3.2.8.SP1">
     </project> 
  -
  +<!--
     <project template="projecttemplate.vm"
              name="test-agent"
              modificationset="test-agent"
  @@ -122,5 +111,5 @@
              target="build"
              timeout="3600">
     </project>
  -
  +-->
   </projects>
  
  
  
  1.7       +3 -5      test-agent/src/templates/projecttemplate.vm
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: projecttemplate.vm
  ===================================================================
  RCS file: /cvsroot/jboss/test-agent/src/templates/projecttemplate.vm,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- projecttemplate.vm	17 Nov 2005 19:39:51 -0000	1.6
  +++ projecttemplate.vm	21 Sep 2006 21:39:03 -0000	1.7
  @@ -13,19 +13,17 @@
   		#set( $tag = $project.getAttributeValue("tag") )
   		#set( $buildstatuslogdir = $project.getAttributeValue("buildstatuslogdir") )
   <modificationset quietperiod="$project.getAttributeValue("quietperiod")" #if( !($requiremodification == "")) requiremodification="$requiremodification" #end>
  -		    <cvs localworkingcopy="checkout/$project.getAttributeValue("modificationset")" #if( !($tag == "") ) tag="$project.getAttributeValue("tag")" #end/>
  +		    <svn localworkingcopy="checkout/$project.getAttributeValue("modificationset")" #if( !($tag == "") ) tag="$project.getAttributeValue("tag")" #end/>
   </modificationset>
   
   		<!-- Configures the actual build loop, how often and which build file/target -->
   		<!-- interval - (300) num seconds between checks -->
  -		#set( $cvsbranch = $project.getAttributeValue("cvsbranch") )
  -		#set( $cvsmodule = $project.getAttributeValue("cvsmodule") )
  +		#set( $svnurl = $project.getAttributeValue("svnurl") )
   		#set( $jbossdir = $project.getAttributeValue("jbossdir") )
   		<schedule interval="$project.getAttributeValue("scheduleinterval")">
   		    <ant buildfile="$project.getAttributeValue("buildfile")" target="-lib ../../../lib $project.getAttributeValue("target")" antscript="$project.getAttributeValue("antscript")"
   			 uselogger="$project.getAttributeValue("uselogger")" usedebug="$project.getAttributeValue("usedebug")" timeout="$project.getAttributeValue("timeout")" antWorkingDir="scripts">
  -			 #if( !($cvsbranch == "") ) <property name="cvs.branch" value="$cvsbranch"/> #end
  -#if( !($cvsmodule == "")) <property name="cvs.module" value="$cvsmodule"/> #end
  +#if( !($svnurl == "")) <property name="svn.url" value="$svnurl"/> #end
   #if( !($jbossdir == "")) <property name="jboss.dir" value="$jbossdir"/> #end			 
   </ant>
   		</schedule>
  
  
  



More information about the jboss-cvs-commits mailing list