ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wei wei" <>
Subject run ant build via java
Date Wed, 26 Oct 2005 00:05:41 GMT

i am new to ant build tool. Assume that i have written one build.xml 
manually, now i try to add extra property , target, task into this existing 
build.xml by writing java code using ant api, such as
Project p= new Project();
p.setproperty(name, value);

then i run this build.xml via java.
String[] args={"-buildfile","mybuildfilename"};

is possible to do like this?

the second question is: will the programm exit after executing the 

Thanks in advance.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message