Re: Terminate an Ant target

2011-01-20 Thread Jan C.
d which process is the axis process to have > the id to be able to selectively kill it. > > On UNIX (Solaris) you can achieve the same using /usr/ucb/ps -auxww . Not > sure other UNIXes. > > Regards, > > Antoine > > On 1/19/2011 4:17 AM, Jan C. wrote: >> >>

Re: Terminate an Ant target

2011-01-19 Thread Jan C.
what I meant is that I don't start the server from my java class so I can't call > embedded.destroy(); ;) On Wed, Jan 19, 2011 at 12:31 PM, Michael Ludwig wrote: > Jan C. schrieb am 19.01.2011 um 11:26 (+0100): >> I'm not starting the SimpleHTTPServer programmatic

Re: Terminate an Ant target

2011-01-19 Thread Jan C.
Hi, I'm not starting the SimpleHTTPServer programmatically so I don't have any reference to the instance. cheers, Jan On Wed, Jan 19, 2011 at 11:21 AM, Michael Ludwig wrote: > Jan C. schrieb am 19.01.2011 um 10:17 (+0100): >> My JUnit test need a http server so I also s

Terminate an Ant target

2011-01-19 Thread Jan C.
Hello, I use ant to run some JUnit test. My JUnit test need a http server so I also start one in my test: ... ... The problem I have is that the SimpleHTTPServer is running forever so even when my JUnit test finish successfully, the