Erv,

I actually removed the waitforstatus attribute (I still have it on my local
copy), as it wasn't really necessary ... I'll think about adding the Restart
action, good idea.

Gert

----- Original Message ----- 
From: "Erv Walter" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>; "Nant-Developers (E-Mail)"
<[EMAIL PROTECTED]>
Sent: Sunday, September 07, 2003 5:36 PM
Subject: RE: [nant-dev] servicecontroller task


Great Idea.  I'd love to get a few more <exec> tasks out of my builds.
My only suggestion would be to include a "Restart" action (which would
be equivalent to Stop followed by Start with the appropriate
waitforstatuses).

-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 07, 2003 3:50 AM
To: Nant-Developers (E-Mail)
Subject: [nant-dev] servicecontroller task

Hi,

I'm thinking about adding a task for
stopping/starting/pausing/continueing a service, and at the same time
waiting for it to reach a certain status.

It would look something like this :

<servicecontroller service="iisadmin" action="Start | Stop | Continue |
Pause" waitforstatus="Paused | Running | ...." waittimeout="..." />

As the name suggests, I would use the servicecontroller task to
implement this task, which should make it pretty straightforward.
Ofcourse, this task will be win32-specific, and as such would be part of
the NAnt.Win32 namespace and assembly.

Any remarks, suggestions, ... ?

Gert




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to