我正在使用Cruise Control .Net 1.4进行持续集成,并已安装在我的Windows 2000桌面上。我使用Nant 0.85进行构建。我的源代码控制在Borland Starteam 2005中。我已安装了.NET 2003框架,用于创建VB.Net Windows应用程序。我已经安装了CCNet,我认为我的CCNet.config文件已正确配置。
我面临的问题是,无论何时我改变任何一行代码并在Starteam中检查,修改都无法被CCNet服务器检测到,因此我无法根据修改触发构建。我必须依靠forcebuild来实现。但是每隔1分钟就使用forcebuild是不可接受的。我希望触发器基于修改。即一旦在Starteam上检测到更改,构建就应该自动进行。
我的CCNet.config文件如下:
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate. Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.
<workingDirectory>C:Documents and Settingsuj0011637DesktopStarteamCruiseControlCCNet17Nov08</workingDirectory>
<webURL>http://172.24.120.37/ccnet</webURL>
<triggers>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<intervalTrigger name="continuous" seconds="120" buildCondition="ForceBuild" initialSeconds="120"/>Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.</triggers>
<sourcecontrol type="starteam">
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate. <executable>C:Program FilesBorlandStarTeam Cross-Platform Client 2005 R2stcmd.exe</executable>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate. <project>DEL_CA_ROBOTSToolsCCNet17Nov08</project>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate. <username>600513221</username>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate. <password>car0b0ts</password>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate. <host>oscar.nat.bt.com</host>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate. <port>51234</port>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate. <autoGetSource>true</autoGetSource>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate. <timeout units="minutes">10</timeout>
</sourcecontrol>
<tasks>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<!-- Configure NAnt to compile the updated files -->c:
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<nant>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<executable>C:Documents and Settingsuj0011637DesktopCruise Control
ant
ant-0.85inNAnt.exe</executable>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<baseDirectory>C:Documents and Settingsuj0011637DesktopStarteamCruiseControlCCNet17Nov08</baseDirectory>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<nologo>false</nologo>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<buildFile>CCNet17Nov08.build</buildFile>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<logger>NAnt.Core.XmlLogger</logger>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<buildTimeoutSeconds>1200</buildTimeoutSeconds>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.</nant>
</tasks>
<!--Publishers will be done after the build has completed-->
<publishers>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<xmllogger>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<logDir>C:Documents and Settingsuj0011637DesktopStarteamCruiseControlLog</logDir>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.</xmllogger>
</publishers>
<modificationDelaySeconds>10</modificationDelaySeconds>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.
我的构建文件是这个:
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.
<target name="clean" description="Delete all previously compiled binaries.">
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<delete>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<fileset>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="**/bin/${project::get-name()}.dll" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="**/obj/**" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="**/*.user" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.</fileset>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.</delete>
</target>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.
<target name="rebuild" dependsontarget="clean, build ">
<zip zipfile="${project::get-name()}.zip"Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.verbose="true">
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<fileset>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="**/bin/*.dll" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="**/bin/*.exe" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.</fileset>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<fileset>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="*.aspx" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="*.css" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="*.config" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="*.js" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="*.asax" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="**.txt" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="**.vb" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="**.vbproj" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="**.user" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="**.sln" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="**.suo" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="**.resx" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.</fileset>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<fileset prefix="SQL">
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<include name="*.sql" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.</fileset>
</zip>
</target>
<target name="unit_test" description="Run unit tests.">
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate. <exec program="${nunit.dir}
unit-console.exe" commandline="bin/${prjname}.exe /xml=${prjname}.xml /nologo" />
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate. </target>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<target name="build.Console">
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<solution configuration="release" solutionfile="CCNet17Nov08.sln">
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.</solution>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<property name="expected.output" value="bin/${prjname}.exe"/>
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.<fail unless="${file::exists(expected.output)}">Output file doesn t exist in ${expected.output}</fail>
</target>
请问有人可以帮我指导一下吗?
Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.Sorry, there is no text provided to be translated into Chinese. Please provide the text to translate.