ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <j...@socialchange.net.au>
Subject Re: Calling Ant from a JSP Page (2)
Date Fri, 21 Sep 2001 03:50:08 GMT
On Thu, Sep 20, 2001 at 05:15:52PM -0700, Massa, Ray wrote:
> First thanks for all the responses the first time! 
> 
> What I'm trying to do:
[..]
> Process p = Runtime.getRuntime().exec("c:\\ant\\bin\\ant.bat -buildfile
> c:\\ant\\bin\\build.xml -logfile c:\\ant\\bin\\foo.txt"); 

Ew. Why not just call org.apache.tools.ant.Main() directly?

Example at:

http://newgate.socialchange.net.au/~jeff/apache/jakarta/jakarta-ant/antrunner/run.jsp.txt

--Jeff

Mime
View raw message