| How to use Ant at runtime (programatically) without using Runtime? [message #268386] |
Tue, 24 August 2004 08:18  |
Eclipse User |
|
|
|
Originally posted by: pimenta.inatel.br
Hi.
My plugin has a new menu. This menu creates a build.xml.
Now, when this menu is invoked , its action should call
Ant, after creating the xml file, 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?
Thanks?
Rodrigo Pimenta Carvalho.
|
|
|
|
|
| Re: How to use Ant at runtime (programatically) without using Runtime? [message #268488 is a reply to message #268479] |
Tue, 24 August 2004 16:37  |
Eclipse User |
|
|
|
Originally posted by: pimenta.inatel.br
Thank you Mark!!
It is what I was looking for!
I will try it.
Hugs.
Rodrigo.
Mark Melvin wrote
> Rodrigo,
> I think what you want to do is use the AntRunner class, and configure it
> to use your build file. The stuff in the manual page is if you do not
> have a build file.
> Search the Eclipse Online Help for AntRunner. There is an example there
> too.
> Mark.
> Rodrigo Pimenta Carvalho wrote:
> > Hi.
> >
> > My plugin has a new menu. This menu creates a build.xml.
> > Now, when this menu is invoked , its action should call
> > Ant, after creating the xml file, 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?
> >
> > Thanks?
> >
> > Rodrigo Pimenta Carvalho.
> >
|
|
|
Powered by
FUDForum. Page generated in 0.04116 seconds