ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gisbert Amm <...@webde.de>
Subject Re: run ant build via java
Date Wed, 26 Oct 2005 08:47:10 GMT
You probably want to try out Leafcutter: https://leafcutter.dev.java.net/

Regards,
Gisbert Amm

wei wei wrote:
> Hello,
> 
> 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"};
> Main.main(args);
> 
> is possible to do like this?
> 
> the second question is: will the programm exit after executing the 
> Main.main(args)?

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


Mime
View raw message