Title: RE: Stopping java processes started with ant
Hi Dave,
It is very simple stuff. I use wrapper scripts that write the server pid to a file, and then later a script that reads the pid and kills the associated process.
Works fine on Solaris, may work on Windows with cygwin but I have
Nascif.
Could you share this please. I was about to start work on the same solution.
Thanks.
Dave.
-Original Message-
From: Nascif Abousalh-Neto [mailto:[EMAIL PROTECTED]]
Sent: 16 October 2002 17:38
To: Klara Ward; Ant Users List
Subject: RE: Stopping java processes started with ant
The timeout in the java task seems to work by calling thread.interrupt
on the thread running the actual java.
Would it be possible to make some similar feature stopping the java
process on your demand instead of after a timeout?
I guess you would have to keep some process-id in the ant-script,