RE: how to invoke ant via java

2005-01-25 Thread Radha Sangal
time.getRuntime().exec(command); -Original Message- From: softgnostics k [mailto:[EMAIL PROTECTED] Sent: Saturday, January 22, 2005 1:17 PM To: Radha Sangal Subject: how to invoke ant via java Hi, Could you please explain me how to invoke ant build using Runtime.exec () in java .

Re: how to invoke ant via java

2005-01-19 Thread Alan Gutierrez
* softgnostics k <[EMAIL PROTECTED]> [2005-01-19 15:01]: > 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 necessa

Re: how to invoke ant via java

2005-01-19 Thread Maik Dobryn
Hi vivek, have a look at the following class. Best regards, Maik import java.io.File; import org.apache.tools.ant.*; public class AntExecuterImpl { private String buildFileName; private String executeTarget; private String buildDir = ""; private String property = ""; public

RE: how to invoke ant via java

2005-01-19 Thread Conelly, Luis (GE Energy, Non GE, GENE)
ect: 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

how to invoke ant via java

2005-01-19 Thread softgnostics k
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

Re: how to invoke ant via java

2005-01-19 Thread Rhino
nesday, January 19, 2005 3:01 PM 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

RE: how to invoke ant via java

2005-01-19 Thread Radha Sangal
I used Runtime.exec () to invoke ant -Original Message- From: softgnostics k [mailto:[EMAIL PROTECTED] 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

how to invoke ant via java

2005-01-19 Thread softgnostics k
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