Stefan Bodewig wrote:

On Tue, 4 May 2004, Vincent Massol <[EMAIL PROTECTED]> wrote:


There's some discussion raging in Maven land for Maven2 as whether
we could/should reuse Ant tasks in embedded mode from within Maven
plugins written in java.


Well, whether you should is beyond our opinion 8-)

"could", I'd say yes.  If you realize that you can't that probably
means that Ant tasks aren't as embeddable/reusable as we'd like them
to be.  And then we should probably fix that.

Tomcat's Jasper embeds Ant's javac task without using Ant's runtime
environment IIRC, so at least for this task, embedding seems to work.
I must admit that I don't know how many hoops the Jasper folks had to
jump through, though.


commons launcher, which is 'based on tomcat', uses ant as a bootloader for applications; it may be the case that tomcat does use the ant runtime after all. But I havent looked at the source to see.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to