ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste BRIAUD -- Novlog <j-b.bri...@novlog.com>
Subject Launch Ant build from Java
Date Fri, 25 Sep 2009 16:17:56 GMT
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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message