I have installed CruiseControl 1.0.1 and Ant apache-ant-1.9.12 . I am trying to integrate them to build My C# project So I have done the below changes in ccnet.config
<cruisecontrol>
<project name="VGProject">
<webURL>http://localhost/ccnet</webURL>
<schedule type="schedule" sleepSeconds="7200"/>
<sourcecontrol type="nullSourceControl" />
<exec>
<ant antscript="C:/Dev Softwares/Ant/apache-ant-1.9.12/ant.bat"
antworkingdir="C:/Projects/vgproject/build/"
buildfile="C:/Projects/vgproject/build/build.xml"
uselogger="true"
usedebug="false"/>
</exec>
</project>
</cruisecontrol>
When i trigger a build it just says success without building . It says unused / node detected
My build XML is proper.Cruise control is not executing my build.xml
Suggestions are greatly appreciated. Can anyone help standard ccnet config to integrate/execute build xml using ant.
You seem to be confusing
antwithnant. The question is tagged with both, but these are different products which are not interchangeable.You have defined your build as
type="nant", but the executable you have given it is theant.batrather than the location of anant.exe. This is the cause of the problem.P.S.
cruisecontrolandcruisecontrol.netare also different products: you should only tag with whichever one you are using.