By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,034 Members | 822 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,034 IT Pros & Developers. It's quick & easy.

ant from java

P: n/a
hello,

i research to run an target from my ANT file (build.xml) in a servlet
?
i try that :
----------
import org.apache.tools.ant.Main;

public class MyClass {

String[] tab = new
String[]{"-buildfile","C:/ProgramFiles/eclipse/workspace/instool/build.xml","targetTest"};
Main.main(tab);

}
-----
but the target is running but it stops my web server.
could you help me please ?

thanks
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.