Someone else probably has a better example, but this is my <tasks> section from my config (which is working)
<tasks> <msbuild> <executable>D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe</executable> <workingDirectory>d:\CruiseControlBuilds\Dev\MyProject\WorkingDirectory</workingDirectory> <projectFile>d:\CruiseControlBuilds\Dev\MyProject\WorkingDirectory\CMaxAdmin.sln</projectFile> <buildArgs>/p:Configuration=Debug</buildArgs> <targets>Clean;Build</targets> <logger>D:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger> <timeout>900</timeout> </msbuild> <nant> <baseDirectory>D:\CruiseControlBuilds\Dev\MyProject</baseDirectory> <executable>d:\progra~1\nant-0.86-beta1\bin\nant.exe</executable> <buildFile>MyProject.build</buildFile> <targetList> <target>archive</target> <target>move_to_prestaging</target> </targetList> </nant> </tasks> On Tue, Nov 16, 2010 at 8:26 AM, Adam Bruss <abr...@awrcorp.com> wrote: > I can’t get nant to work in normal cruisecontrol. It’s supposed to work > according to the documentation. This is on a Windows 7 machine. > > > > <project > name="listener-ccnet"> > > <modificationset> > > <filesystem > folder="\\meqtestbuild-dt\C\Program Files > (x86)\CruiseControl.NET\server\Test-build.state" /> > > </modificationset> > > > > <schedule interval="15"> > > <!--<exec command="cmd.exe" > />--> > > <nant > targetframework="net-3.5" tempfile="adamnant.xml" uselogger="true" > usedebug="true" nantWorkingDir="E:\ProjectsSVN\AUTOBUILD\nant" > buildfile="orion-system.build" /> > > </schedule> > > </project> > > > > A forced build goes into waiting mode forever when the nant command is > encountered. Does anyone have an example of using the nant plugin from > cruisecontrol? > > > > Thanks, > > Adam > > > > Adam Bruss > > Development Engineer > > AWR Corporation/Simulation Technology & Applied Research > > 11520 N. Port Washington Rd., Suite 201 > > Mequon, WI 53092 USA > > P: 1.262.240.0291 x104 > > F: 1.262.240.0294 > > E: abr...@awrcorp.com > > W: http://www.awrcorp.com > > > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev > _______________________________________________ > NAnt-users mailing list > NAnt-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users > > -- Marcus Weidner www.KD8ITX.com ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users