Previous Section
Table of Contents
Next Section


CruiseControl

CruiseControl is an open source, application development tool available as freeware at http://cruisecontrol.sourceforge.net. CruiseControl is a framework for a continuous build process. It includes plug ins for e-mail notification, Ant, and various source control tools. CruiseControl provides a set of Ant tasks that you add to your working buildfile between the last and the current build. The tasks notify CruiseControl about what work it needs to do, such as execute a build, update logs, and send out e-mail alerts to team members. CruiseControl sends success or failure alerts through e-mail messages when a build completes.

Configuring the Ant Tool for CruiseControl

After you have installed and configured CruiseControl, you start CruiseControl using a batch file or shell script. CruiseControl will then run continuously, checking for updates in the repository and executing builds as updates become available. The visual output from the running CruiseControl instance is the standard Ant output. CruiseControl also provides a Web application that allows you to view the logs of previous builds using Log Viewer.

Running the Ant Tool for CruiseControl

You run CruiseControl by typing java -jar dist/cruisecontrol.jar in the command line or using the cruisecontrol.bat script contained in INSTALL_DIR/main/bin. When you run CruiseControl and receive a No config file message, along with usage information, it means that CruiseControl is installed correctly. The cruisecontrol.log file is created in the current directory after successful installation.



Previous Section
Table of Contents
Next Section