ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: Setting classpath for Taskdef
Date Mon, 10 Dec 2001 01:54:34 GMT

----- Original Message -----
From: "William Ferguson" <>
To: "'Ant Users List'" <>
Sent: Sunday, December 09, 2001 4:32 PM
Subject: RE: Setting classpath for Taskdef

> Thanks Eric,
> optional.jar is already in %ANT_HOME%\lib and it finds it OK.
> It's just not finding j2ee.jar

That is because the task in optional.jar is in a different classloader from
the j2ee jar.

> If I explicitly add j2ee.jar to the classpath when I invoke Ant then
> everything works OK.
> But that is not an optimal solution.

It is all you get unless you pull optional.jar from ant\lib and include it
in the classpath you spec for MimeMail.

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

View raw message