ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Massa, Ray" <RMa...@ea.com>
Subject RE: Calling Ant from a JSP Page (2)
Date Fri, 21 Sep 2001 18:53:37 GMT
Thanks for the example Jeff.

I don't quite understand it fully. Where are you calling
org.apache.tools.ant.Main() directly? 

Relatively new Java Programmer here.

-----Original Message-----
From: Jeff Turner [mailto:jeff@socialchange.net.au]
Sent: Thursday, September 20, 2001 8:50 PM
To: ant-user@jakarta.apache.org
Subject: Re: Calling Ant from a JSP Page (2)


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/antrunne
r/run.jsp.txt

--Jeff

Mime
View raw message