Author: doll
Date: Wed Jun 18 14:57:06 2008
New Revision: 669306

URL: http://svn.apache.org/viewvc?rev=669306&view=rev
Log:
SHINDIG-327
Patch from Ralph Jocham. Checking in the config file and instructions for using 
cruisecontrol with shindig. 

You can currently see a cruisecontrol build of shindig here: 
http://shindig-ci.bigr2.info:8080/dashboard/tab/build/detail/shindig

Once we get a zone set up we will move this instance to it instead (but it 
seems like that'll be a while from now)


Added:
    incubator/shindig/trunk/etc/cruisecontrol/
    incubator/shindig/trunk/etc/cruisecontrol/README
    incubator/shindig/trunk/etc/cruisecontrol/config.xml

Added: incubator/shindig/trunk/etc/cruisecontrol/README
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/etc/cruisecontrol/README?rev=669306&view=auto
==============================================================================
--- incubator/shindig/trunk/etc/cruisecontrol/README (added)
+++ incubator/shindig/trunk/etc/cruisecontrol/README Wed Jun 18 14:57:06 2008
@@ -0,0 +1,35 @@
+=== Instructions for running cruise control on the shindig java source code ===
+
+Download the latest CruiseControl (CC) from 
http://cruisecontrol.sourceforge.net/download.html. As
+of now we are using 2.7.2, but newer version should work as well.
+
+Install CC on the same level as your Shindig project. (You can use other 
locations as well, but this
+would require you to modify the config.xml file -- which should be easy.)
+
+/usr/local
+       |
+       +---- Shindig
+       +---- CruiseControl
+
+In ~/.m2 create settings.xml with the following content. The site.html.dir 
property needs to point
+the right location were the httpd can find it.
+
+   <settings>
+     <profiles>
+       <profile>
+         <id>reporting</id>
+         <properties>
+           
<site.html.dir>file:///usr/local/google/shindig/html&lt;/site.html.dir>
+         </properties>
+       </profile>
+     </profiles>
+   </settings>
+
+
+Build the project with 'mvn clean package site-deploy -P reporting'
+
+Replace the existing cruisecontrol/config.xml with the one from <shindig 
trunk>/etc/cruisecontrol/
+
+Restart CruiseControl
+
+Force a build!

Added: incubator/shindig/trunk/etc/cruisecontrol/config.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/etc/cruisecontrol/config.xml?rev=669306&view=auto
==============================================================================
--- incubator/shindig/trunk/etc/cruisecontrol/config.xml (added)
+++ incubator/shindig/trunk/etc/cruisecontrol/config.xml Wed Jun 18 14:57:06 
2008
@@ -0,0 +1,42 @@
+<cruisecontrol>
+  <project name="shindig">
+
+    <listeners>
+      <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
+    </listeners>
+
+    <bootstrappers>
+      <svnbootstrapper localWorkingCopy="../shindig"/>
+    </bootstrappers>
+
+    <modificationset quietperiod="30">
+      <svn localWorkingCopy="../shindig"/>
+    </modificationset>
+
+    <schedule interval="300">
+      <maven2 mvnscript="mvn" pomfile="../shindig/java/pom.xml" goal="clean 
package site-deploy -P reporting"/>
+    </schedule>
+
+    <log>
+      <merge dir="projects/${project.name}/target/test-results"/>
+      <merge dir="../shindig/java/gadgets/target/surefire-reports" 
pattern="TEST-*.xml" />
+      <merge dir="../shindig/java/server/target/surefire-reports" 
pattern="TEST-*.xml" />
+      <merge dir="../shindig/java/common/target/surefire-reports" 
pattern="TEST-*.xml" />
+      <merge dir="../shindig/java/social-api/target/surefire-reports" 
pattern="TEST-*.xml" />
+    </log>
+
+    <publishers>
+      <onsuccess>
+        <artifactspublisher dest="artifacts/${project.name}" 
file="../shindig/java/gadgets/target/shindig-gadgets-1-SNAPSHOT-sources.jar"/>
+        <artifactspublisher dest="artifacts/${project.name}" 
file="../shindig/java/gadgets/target/shindig-gadgets-1-SNAPSHOT.jar"/>
+        <artifactspublisher dest="artifacts/${project.name}" 
file="../shindig/java/server/target/shindig-server-1-SNAPSHOT-sources.jar"/>
+        <artifactspublisher dest="artifacts/${project.name}" 
file="../shindig/java/server/target/shindig-server-1-SNAPSHOT.war"/>
+        <artifactspublisher dest="artifacts/${project.name}" 
file="../shindig/java/common/target/shindig-common-1-SNAPSHOT-sources.jar"/>
+        <artifactspublisher dest="artifacts/${project.name}" 
file="../shindig/java/common/target/shindig-common-1-SNAPSHOT.jar"/>
+        <artifactspublisher dest="artifacts/${project.name}" 
file="../shindig/java/social-api/target/shindig-social-api-1-SNAPSHOT-sources.jar"/>
+        <artifactspublisher dest="artifacts/${project.name}" 
file="../shindig/java/social-api/target/shindig-social-api-1-SNAPSHOT.jar"/>
+      </onsuccess>
+    </publishers>
+
+  </project>
+</cruisecontrol>


Reply via email to