ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: how to run java.exe in the different process (not thread) respectively?
Date Tue, 20 Aug 2002 01:35:49 GMT
suogen wrote:
> Hi all,
> 
> I am newbie to the ant, I think this question may have been asked before, but I search
the messages, i don't think 
> I have got the result i expected.
> 
> I can use <parallel> to achieve it in different thread, but not process:
> 
> <target name="runall">
>     <parallel>
>         <antcall target="runserver">
>         <sequential>
>             <sleep seconds=10" />
>             <antcall target="runclient">
>         </sequential>
>     </parallel>
> </target>
> 
> how to run the server and client in different process, any help are appreciated.
> 
> 

Not knowing how runserver and runclient operate, one could only guess. 
If these are implemented as <java> tasks, then simply set fork="yes" to 
run within a different VM.

Conor



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


Mime
View raw message