* 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 necessary. > > How can I do it? That is, how to call the Ant via java? Is there any > way to use an Ant object?
Yes. Try reading through the source of: org.apache.tools.ant.launcher.Launcher Cheers. -- Alan Gutierrez - [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]