Usage: In your ccnet.config file you can use this just like you would use the NAnt task
<ant> <executable>D:\apache-ant\bin\ant.bat</executable> <baseDirectory>D:\MyProject</baseDirectory> <buildArgs>-DprojectVersion=1.0.0</buildArgs> <description>Building MyProject Java code</description> <buildFile>build.xml</buildFile> <targetList> <target>release</target> </targetList> </ant>