Invoking Ant from code is trivial. Create a Project, initialize it,
create a Task, configure it, execute it.
I've done this more times than I'd like to remember, even from a web
app... lemme know if you want a code snip.
--jason
On Oct 7, 2006, at 12:27 AM, Jacek Laskowski wrote:
> On 10/6/06, Jay D. McHugh <jay@joyfulnoisewebdesign.com> wrote:
>
>> But, how would you trigger ant from a servlet?
>
> Don't know how much it matters, but Ant is a bunch of Java classes so
> a servlet can instantiate some and execute some kind of startup method
> where Ant will get kicked off.
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.laskowski.net.pl
|