Hi,
you could use a NAnt task in CCNet. Basically you call a NAnt build file
which uses the servicecontroller task to stop/start services on local or
remote machines :
http://nant.sourceforge.net/release/latest/help/tasks/servicecontroller.html

Hans

2009/4/3 rbr <[email protected]>

>
> 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
>

Reply via email to