Hi
place the net stop and net start commands in a batch file, and that will do the trick or look at the bottom of the help page of the exec task : http://confluence.public.thoughtworks.org/display/CCNET/Executable+Task there is a trick that should also work without batch files with kind regards Ruben Willems On Fri, Apr 3, 2009 at 5:06 PM, rbr <[email protected]> wrote: > > Hello, > > I am fairly new to cruise control and am trying to find a way to stop > a service prior to my triggered MSBuild task and re-start it after the > build is complete. I know this can be done in MSBuild. However, the > MSBuild is shared accross environments that do not all want this > behavior implemented. So, I would like to be able to add it to the > CCNet.config file. I tried adding NET STOP and NET START commands in > the tasks section. But this apparently does not work. At least not the > way I did it. > > Thanks in advance. > > rbr >
