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 .
* 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
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
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
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
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
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
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