Butch,
This is definitely not the Ant goal to do a reboot, otherwise we will soon
have to change Ant to make coffee and pancakes.
Ant allows you to execute external processes, take advantage of this.
Do an <exec> with this process.
http://www.sysinternals.com/ntw2k/freeware/psshutdown.shtml
As an additional note, there is a good deal of tools to grab here
(psshutdown is part of the pstools suite)
http://www.sysinternals.com/ntw2k/utilities.shtml
Cheers,
--
Stéphane Bailliez
Software Engineer, Paris - France
iMediation - http://www.imediation.com
Disclaimer: All the opinions expressed above are mine and not those from my
company.
> -----Original Message-----
> From: Butch Clark [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 25, 2001 9:23 PM
> To: [EMAIL PROTECTED]
> Subject: Forcing a (Windoze) Reboot from Ant?
>
>
>
> Hi all,
>
> Has anyone forced a reboot of a Windows box as a part of
> an Ant script?
> Not quite sure how to proceed from here...
>
>