ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: FW: [maven2] Anything Groovy in Maven2?
Date Tue, 04 May 2004 08:52:27 GMT
On Tue, 4 May 2004, Vincent Massol <> wrote:
>> From: Stefan Bodewig []

>> If the only embedder of Ant tasks you know is Ant, it is hard to
>> see that you are creating a problem for other embedders.
> True. But you could easily create a sample project in Ant CVS that
> would use Ant task in embedded mode. It would serve as a functional
> test bed.

Coding it is the easy part.  Imagining what could lead to problems and
thus writing the functional tests is what we are (at least I am)

> However, the code is:
>     private int executeInVM(JUnitTest arg) throws BuildException {
> [...]
>         try {
>             log("Using System properties " + System.getProperties(),
>                 Project.MSG_VERBOSE);
>             createClassLoader();
>             if (classLoader != null) {
>                 classLoader.setThreadContextLoader();
>             }
> Thus the AntClassloader is created in all cases.

No.  createClassloader leaves classLoader set to null if no user
classpath has been specified.

> In any case, thanks for your feedback.

You're welcome.

> I'll start using Ant tasks to write maven2 plugins soon. If I have
> problems, I'll contact the list again.

Please do.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message