I am trying to setup cruisecontrol in a Linux environment. I have some experience with cc.NET, but this is the first time I have ever tried to use the 'nix version. This is what I have for my build.xml:
When I run "ant project1", everything seems to work except that it tells me: /opt/cruisecontrol-bin-2.8.3/projects/portal/build.xml:8: Problem: failed to create task or type modificationset Cause: The name is undefined.
I can't seem to find another way to say "only build when a change is checked into svn." I am using CC 2.8.3. Any ideas?
<?xml version="1.0" encoding="UTF-8"?>
<project name="project1" basedir=".">
<target name="checkout">
<exec executable="svn" dir="${basedir}/source">
<arg line="up" />
</exec>
</target>
<modificationset>
<svn localWorkingCopy="projects/${project.name}/source/"/>
</modificationset>
<target name="php-codesniffer">
<exec executable="phpcs"
dir="${basedir}/source"
output="${basedir}/build/logs/checkstyle.xml">
<arg line="--report=checkstyle
--standard=PEAR
--ignore=src/autoload src/"/>
</exec>
</target>
<target name="publish">
</target>
<target name="build" depends="checkout,php-codesniffer" />
</project>