ant-user mailing list archives

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

----- Original Message -----
From: "William Ferguson" <william_ferguson@versata.com>
To: "'Ant Users List'" <ant-user@jakarta.apache.org>
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message