ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan C." <chal...@gmail.com>
Subject Re: Terminate an Ant target
Date Wed, 19 Jan 2011 13:00:28 GMT
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 <milu71@gmx.de> 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 reference to the instance.
>
> You don't have a reference, but you do start the server
> programmatically. ;-)
>
>> >> <target name="mytest" depends="build">
>> >> <parallel failonany="true" >
>> >>     <sequential>
>> >>       <!-- Start HTTP server here -->
>> >>        <java fork="yes"
>> >> classname="org.apache.axis2.transport.http.SimpleHTTPServer" >
>
> You probably just need to become even more programmatical. ;-)
>
>> > Don't know if you'll have to resort to the <script> task to
>> > implement that.
>
> --
> Michael Ludwig
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message