Re: Terminate an Ant target

2011-01-20 Thread Jan C.
ok thanks for the hint On Wed, Jan 19, 2011 at 9:22 PM, Antoine Levy-Lambert wrote: > Hi, > > on the JUnit leg of your parallel invocation, you need to use a script to > kill your http server. Depending on your operating system you could use > pskill from sysinternals (Windows) or just kill (UNIX

Re: Terminate an Ant target

2011-01-19 Thread Michael Ludwig
Antoine Levy-Lambert schrieb am 19.01.2011 um 15:22 (-0500): > > To find out the process number, there is a tool called pv.exe from > teamcti which can list Windows processes with the full command line, > provided the proper format option. Great tool - thanks for sharing this information. -- Mi

Re: Terminate an Ant target

2011-01-19 Thread Antoine Levy-Lambert
Hi, on the JUnit leg of your parallel invocation, you need to use a script to kill your http server. Depending on your operating system you could use pskill from sysinternals (Windows) or just kill (UNIX). To find out the process number, there is a tool called pv.exe from teamcti which can l

Re: Terminate an Ant target

2011-01-19 Thread Michael Ludwig
Jan C. schrieb am 19.01.2011 um 14:00 (+0100): > what I meant is that I don't start the server from my java class so I > can't call > > embedded.destroy(); Which is why I tried to refer you to the

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 programmatically so I >> don't have any ref

Re: Terminate an Ant target

2011-01-19 Thread Michael Ludwig
Jan C. schrieb am 19.01.2011 um 11:26 (+0100): > I'm not starting the SimpleHTTPServer programmatically so I > don't have any reference to the instance. You don't have a reference, but you do start the server programmatically. ;-) > >> > >> > >>     > >>       > >>         >> classname="org.a

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 start one in my test: >> >>

Re: Terminate an Ant target

2011-01-19 Thread Michael Ludwig
Jan C. schrieb am 19.01.2011 um 10:17 (+0100): > My JUnit test need a http server so I also start one in my test: > > > > > > classname="org.apache.axis2.transport.http.SimpleHTTPServer" > > ... > > > > ... > > > > > > The problem I

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