You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Tibor Strausz <Ti...@tridion.com> on 2002/08/07 14:43:16 UTC

run ant task in separate virtual machine

I want to run my ant task in separate virtual machine can any one tell my
how this can be done??

Way?? Cause, my task unregisters windows liberarys and after the task is
finished the liberarys are locked :-( And i need to use them in following
tasks

thnx
tibi

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: run ant task in separate virtual machine

Posted by Geoff Meakin <ge...@isocra.com>.
You could always fork off a VM in <java> and execute the ant main class with
arguments like the batch script/shell script file does.
Just ensure the ANT stuff is in the nested classpath thats all.

You do kind of lose the task dependencies though, and you have to be
careful that the new ANT process doesnt try to do stuff that your existing
one already has etc. etc. you know the usual pitfalls..

Cheers
-Geoff



-----Original Message-----
From: Tibor Strausz [mailto:Tibor.Strausz@tridion.com]
Sent: 07 August 2002 01:43 PM
To: Ant Users List (E-mail)
Subject: run ant task in separate virtual machine



I want to run my ant task in separate virtual machine can any one tell my
how this can be done??

Way?? Cause, my task unregisters windows liberarys and after the task is
finished the liberarys are locked :-( And i need to use them in following
tasks

thnx
tibi

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>