ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjeev Singh" <ssi...@coresolucomm.com>
Subject Re: How does Ant find classes? ( ClassLoader problem )
Date Thu, 31 Oct 2002 14:27:52 GMT
pl register men


my email address is ssingh@coresolucomm.com
----- Original Message -----
From: Steve Loughran <steve_l@iseran.com>
To: Ant Users List <ant-user@jakarta.apache.org>
Sent: Tuesday, October 29, 2002 10:50 PM
Subject: Re: How does Ant find classes? ( ClassLoader problem )


>
> ----- Original Message -----
> From: "Garrett Smith" <javadevmac2@yahoo.com>
> To: "'Ant Users List'" <ant-user@jakarta.apache.org>
> Sent: Monday, October 28, 2002 7:04 PM
> Subject: How does Ant find classes? ( ClassLoader problem )
>
>
> > You probably wouldn't care and say, "It just does." ...until you had
some
> > serious ClassLoader. An ominous problem such as that that I now face is
> too
> > much for one of my level of experience.
> >
> > I want to know where Ant finds javax.mail.Session. I took mail.jar out
of
> my
> > classpath.
>
> its also in j2ee.jar
>
> >
> > Tomcat also finds javax.mail.Session. Tomcat uses WebappClassLoader. For
> JNDI,
> > SystemClassLoader is used. Tomcat has no problem loading classes through
> either
> > classloader (even though this seems impossible).
>
> is this java1.4 or 1.3? 1.4 has lots of funnies wrt endorsed dirs
>
> >
> > Learning where ant finds classes will not fix the runtime errors I get
> > (ClassCastException), but It may lead me in the right direction.
> >
> > mail.jar is not in my classpath. Where does Ant find javax.mail?
>
> 0. jre's main dir
> 1. jre/ext
> 2. ant_home\lib
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>



--
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