commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r507436 - in /jakarta/commons/proper/commons-nightly/trunk/cruisecontrol: ./ README.txt ant-config.tmpl gen-config.bom gen-config.sh m1-config.tmpl m2-config.tmpl
Date Wed, 14 Feb 2007 08:37:37 GMT
Author: bayard
Date: Wed Feb 14 00:37:36 2007
New Revision: 507436

URL: http://svn.apache.org/viewvc?view=rev&rev=507436
Log:
Playing with CruiseControl and Commons. 

Added:
    jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/
    jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/README.txt   (with props)
    jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/ant-config.tmpl
    jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/gen-config.bom
    jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/gen-config.sh   (with props)
    jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/m1-config.tmpl
    jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/m2-config.tmpl

Added: jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/README.txt
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/README.txt?view=auto&rev=507436
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/README.txt (added)
+++ jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/README.txt Wed Feb 14 00:37:36
2007
@@ -0,0 +1,9 @@
+Experimenting with CruiseControl for the Commons nightly build system. 
+
+It should mean adding a line (or many lines) to the gen-config.bom file, and 
+then executing "sh gen-config.sh gen-config.bom" on the build system. 
+
+Building under multiple JVMs at the same time is an experimental idea - the 
+idea being to add special for-loop scripts to each build system that mean 
+that a maven-build runs over a set number of JDKs. This may make the results 
+rather useless though.

Propchange: jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/ant-config.tmpl
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/ant-config.tmpl?view=auto&rev=507436
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/ant-config.tmpl (added)
+++ jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/ant-config.tmpl Wed Feb 14
00:37:36 2007
@@ -0,0 +1,26 @@
+
+  <project name="ant-COMPONENT" buildafterfailed="true">
+    <listeners>
+      <currentbuildstatuslistener
+          file="logs/ant-COMPONENT/status.txt"/>
+    </listeners>
+
+    <bootstrappers>
+    </bootstrappers>
+
+    <modificationset quietperiod="10">
+      <svn localworkingcopy="ant/COMPONENT_DIRECTORY/COMPONENT"/>
+    </modificationset>
+
+    <schedule interval="60">
+        <ant antscript="/home/hen/apps/apache-ant-1.7.0/bin/ant"
+             buildfile="ant/COMPONENT_DIRECTORY/COMPONENT/build.xml"
+             target="clean dist"/>
+    </schedule>
+
+    <log logdir="logs/ant-COMPONENT"/>
+
+    <publishers>
+    </publishers>
+  </project>
+

Added: jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/gen-config.bom
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/gen-config.bom?view=auto&rev=507436
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/gen-config.bom (added)
+++ jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/gen-config.bom Wed Feb 14 00:37:36
2007
@@ -0,0 +1,3 @@
+ant:proper:lang
+m1:proper:lang
+m2:proper:lang

Added: jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/gen-config.sh
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/gen-config.sh?view=auto&rev=507436
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/gen-config.sh (added)
+++ jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/gen-config.sh Wed Feb 14 00:37:36
2007
@@ -0,0 +1,18 @@
+bomFile=$1
+echo '<cruisecontrol>' > config.xml
+for i in `cat $bomFile`
+do
+  bld=`echo $i | awk 'BEGIN { FS = ":" } {print $1}'`
+  dir=`echo $i | awk 'BEGIN { FS = ":" } {print $2}'`
+  cmp=`echo $i | awk 'BEGIN { FS = ":" } {print $3}'`
+
+  checkout="${bld}/${dir}/${cmp}"
+  if [ ! -d $checkout ]
+  then
+      mkdir -p ${bld}/${dir}
+      echo "Checkout - $checkout"
+      svn -q checkout http://svn.apache.org/repos/asf/jakarta/commons/${dir}/${cmp}/trunk
${checkout}
+  fi
+  cat ${bld}-config.tmpl | sed "s/COMPONENT_DIRECTORY/$dir/g" | sed "s/COMPONENT/$cmp/g"
>> config.xml
+done
+echo '</cruisecontrol>' >> config.xml

Propchange: jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/gen-config.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Added: jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/m1-config.tmpl
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/m1-config.tmpl?view=auto&rev=507436
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/m1-config.tmpl (added)
+++ jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/m1-config.tmpl Wed Feb 14 00:37:36
2007
@@ -0,0 +1,26 @@
+
+  <project name="m1-COMPONENT" buildafterfailed="true">
+    <listeners>
+      <currentbuildstatuslistener
+          file="logs/m1-COMPONENT/status.txt"/>
+    </listeners>
+
+    <bootstrappers>
+    </bootstrappers>
+
+    <modificationset quietperiod="10">
+      <svn localworkingcopy="m1/COMPONENT_DIRECTORY/COMPONENT"/>
+    </modificationset>
+
+    <schedule interval="60">
+        <maven mavenscript="/home/hen/apps/maven-1.0.2/bin/maven"
+               projectfile="m1/COMPONENT_DIRECTORY/COMPONENT/project.xml"
+               goal="clean jar"/>
+    </schedule>
+
+    <log logdir="logs/m1-COMPONENT"/>
+
+    <publishers>
+    </publishers>
+  </project>
+

Added: jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/m2-config.tmpl
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/m2-config.tmpl?view=auto&rev=507436
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/m2-config.tmpl (added)
+++ jakarta/commons/proper/commons-nightly/trunk/cruisecontrol/m2-config.tmpl Wed Feb 14 00:37:36
2007
@@ -0,0 +1,26 @@
+
+  <project name="m2-COMPONENT" buildafterfailed="true">
+    <listeners>
+      <currentbuildstatuslistener
+          file="logs/m2-COMPONENT/status.txt"/>
+    </listeners>
+
+    <bootstrappers>
+    </bootstrappers>
+
+    <modificationset quietperiod="10">
+      <svn localworkingcopy="m2/COMPONENT_DIRECTORY/COMPONENT"/>
+    </modificationset>
+
+    <schedule interval="60">
+        <maven2 mvnscript="/home/hen/apps/maven-2.0.4/bin/mvn"
+               pomfile="m2/COMPONENT_DIRECTORY/COMPONENT/pom.xml"
+               goal="clean package"/>
+    </schedule>
+
+    <log logdir="logs/m2-COMPONENT"/>
+
+    <publishers>
+    </publishers>
+  </project>
+



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message