thanks for the help - preprocessor looks really useful
On Oct 23, 12:16 pm, alexandrul cuza <[email protected]> wrote: > I'm using a rather similar config for different reasons - using CC.NET > on two computers with different windows folders (c:\Windows and > c:\Winxp). > > I've created a "local.windir.config" file with the following content > on a single line (no new line at end): "C:\Windows" > This file would be specific to each PC, the other one would contain > "C:\Winxp". > > In the "ccnet.config" I'm using it like this: > > ========8<======== > <!DOCTYPE cruisecontrol [ > > <!ENTITY _windir SYSTEM "local.windir.config"> > > ]> > > <cruisecontrol xmlns:cb="urn:ccnet.config.builder"> > > <project name="..." queue="..." queuePriority="1"> > > ... > > <workingDirectory>...</workingDirectory> > > <artifactDirectory>...</artifactDirectory> > > <tasks> > > <msbuild> > > <executable>&_windir;\Microsoft.NET\Framework\v3.5\MSBuild.exe</executable> > ... > > ========>8======== > > In your case define a variable with the desired folder and use it for > the working and artifact folders. > > Have a nice day, > A.
