20041026 Tuesday October 26, 2004

Using CruiseControl for Automating AppFuse Builds After seeing Mike Clark speak at Denver's JUG earlier this month (download presentation), I became slightly motivated to try and get automated builds running for AppFuse with CruiseControl. It's fairly easy to do with Anthill, so I figured CruiseControl couldn't be too much harder.

After countless hours of trying to get it to work, I give up. I've documented what I did, and where I'm at - but I can no longer afford to spend any time on it. If you're motivated enough, feel free to try and get it working. Suggestions are welcome, but likely won't be acted upon since I'm burned out on CruiseControl. Posted in Java at Oct 26 2004, 11:51:40 AM MDT 6 Comments

Comments:

[Trackback] Today I installed Cruise-Control for a new project at work and it struck me: For sure I have read a lot of stuff about continous integration, but it feels soooo good if you just don't have to care about it...

Posted by kleineikenscheidt/stefan on October 26, 2004 at 01:16 PM MDT #

this worked for me....but /Users/robert/build was my working directory when i invoked cruisecontrol.sh which might be a key difference. anyway, you might check out damagecontrol at codehaus, i think it's better than cruise.
<cruisecontrol>
<project name="appfuse" buildafterfailed="false">

<bootstrappers>
<currentbuildstatusbootstrapper
file="logs/appfuse/currentbuildstatus.txt"/>
<cvsbootstrapper localWorkingCopy="checkout/appfuse" />
</bootstrappers>

<modificationset quietperiod="15">
<cvs localworkingcopy="checkout/appfuse"/>
</modificationset>

<schedule interval="15">
<ant buildfile="/Users/robert/build/checkout/appfuse/build.xml"
antWorkingDir="/Users/robert/build/checkout/appfuse"
antscript="/usr/bin/ant"
target="clean package-web test-all" />
</schedule>

<log>
<merge dir="checkout/appfuse/build/test/data" />
</log>

<publishers>
<currentbuildstatuspublisher
file="logs/appfuse/currentbuildstatus.txt"/>
</publishers>

</project>
</cruisecontrol>

Posted by robert on October 26, 2004 at 04:51 PM MDT #

Have you tried Damage Control from codehaus?

Posted by Larry Williams on October 27, 2004 at 01:24 AM MDT #

I use CruiseControl quite a bit (currently a build guy) and it can be a right pain (can offer help if you need it!). DamageControl is worth a look (used it a bit too), but hasn't been around long some might have the odd quirk. TBH, DC makes CruiseControl look overly complicated and not as advanced, so in the future it'll definately be the way to go.

Posted by Sam Newman on October 28, 2004 at 02:30 AM MDT #

I've used CruiseControl for a couple of years now and have to say it's been great. Matt - was there anything untoward in the CruiseControl log file ? You could also try upping the log level to DEBUG and see if that provides more info. Hope that helps. Thanks, -Paul

Posted by Paul Kavanagh on October 28, 2004 at 11:24 AM MDT #

I pulled down your build.xml and config.xml and the 2.2 version of CC worked for me. The tests didn't complete (I don't have mysql installed) and am ~not~ using Cygwin. Have you tried removing Cygwin from the mix and just putting the cruisecontrol.bat file in your path?

Posted by Jared Richardson on October 28, 2004 at 12:04 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is the Lead UI Architect at LinkedIn. The opinions on this site are mine, not my employers.
« November 2008
SunMonTueWedThuFriSat
      
1
2
3
6
7
8
9
10
11
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
      
Today

Recent Entries

Tag Cloud