hi

are you trying to stop and start ccnet from within ccnet?


with kind regards
Ruben Willems


On Mon, Apr 6, 2009 at 11:14 PM, rbr <[email protected]> wrote:

>
> Thank you Hans. Unfortunately, in my environment, it is not a trivial
> matter to get approval to add a new tool like NAnt. I am working on it
> however.
>
> Ruben, I tried following the directions in this link and received an
> error where the CC service would not start with these commands in
> there. These are supposed to reside within the Tasks section correct?
>
> Best,
>
> rbr
>
> On Apr 3, 12:43 pm, Hans Van Eylen <[email protected]> wrote:
> > 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/servicecontroll...
> >
> > 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