Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
CruiseControl与ANT集成以构建C#解决方案_C#_Ant_Cruisecontrol.net - Fatal编程技术网

CruiseControl与ANT集成以构建C#解决方案

CruiseControl与ANT集成以构建C#解决方案,c#,ant,cruisecontrol.net,C#,Ant,Cruisecontrol.net,我已经安装了CruiseControl 1.0.1和Ant apache-Ant-1.9.12。我正试图将它们集成到我的C#项目中,因此我在 ccnet.config <cruisecontrol> <project name="VGProject"> <webURL>http://localhost/ccnet</webURL> <schedule type="schedule" sleepSeconds="7200"/

我已经安装了CruiseControl 1.0.1和Ant apache-Ant-1.9.12。我正试图将它们集成到我的C#项目中,因此我在 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>

http://localhost/ccnet
当我触发一个构建时,它只是说没有构建就成功了。它表示未使用/检测到节点

我的build.XML是正确的。巡航控制系统没有执行我的build.XML

非常感谢您的建议。
谁能帮助标准ccnet配置使用ant集成/执行构建xml。

您似乎把
ant
nant
混淆了。这两个问题都有标记,但它们是不同的产品,不能互换

您已将构建定义为
type=“nant”
,但您为其提供的可执行文件是
ant.bat
,而不是
nant.exe的位置。这就是问题的原因


p.S.
cruisecontrol
cruisecontrol.net
也是不同的产品:您应该只标记您正在使用的产品。

我的项目需要ant,因为构建类型=“ant”不存在,所以我尝试使用Nant。我还尝试了C:\Apache\Apache-ant-1.8.1\bin\ant.bat C:\Apache internalpush.xml true-false。但是它没有帮助。它表示未使用的计划/脚本。