OK, so it look like possible in one way or another to run it using Ant java classes but what about classloader ? If the launch build contain a javac task, will all the parsed/compiled classes be loaded in the main JVM ?
If yes, the memory will grow and grow, isn't it ?
Does it change something to hava javac fork="yes" ?

On Sep 25, 2009, at 18:17 , Jean-Baptiste BRIAUD -- Novlog wrote:

Hi,

I'd like to launch an Ant build from Java (from a servlet in a Tomcat server).

What would you advise me to do that ?
Should I launch it from OS using exec or should I try to use Ant classes from my own classes ? At first sight, I see the main class has a private method run so it is not possible/wanted/designed to run ant from Java classes.

Any advices, ideas ?


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




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

Reply via email to