ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radha Sangal" <Radha.San...@pega.com>
Subject RE: how to invoke ant via java
Date Wed, 19 Jan 2005 20:22:58 GMT
I used Runtime.exec () to invoke ant

-----Original Message-----
From: softgnostics k [mailto:softgnostics@gmail.com] 
Sent: Wednesday, January 19, 2005 3:01 PM
To: user@ant.apache.org
Subject: how to invoke ant via java

Hi all,

I am newbie to ant and have one query. My application has a new
menu.This menu creates a build.xml Ant file. Now, when this menu is
invoked, its action should call  Ant build, so that the build.xml will
do what is necessary.

How can I do it? That is, how to call the Ant via java? Is there any
way to use an Ant object?

Thanks in advance

vivek.

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


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


Mime
View raw message