tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Balint Domokos <domokosbal...@chello.hu>
Subject Re: How to start ant to use the webapps classpath?
Date Wed, 28 Dec 2005 20:41:04 GMT
Hi,

did you try 
project.setCoreLoader(YourServletClass.class.getClassLoader());
?

Regards,
Balint

On Wed, 2005-12-28 at 14:01 +0100, Zsolt wrote:
> Hi,
> 
> I have tomcat-5.5.12 and I copied all ant libraries (with my ones) into
> /webapps/APPLICATION-NAME/WEB-INF/lib.
> 
> When I start ant using project.executeTargets(execTargets) I get class not
> found exceptions and I think because ant uses the bootstrap classpath of
> tomcat and not the classpath of my webapps.
> 
> How can I get ant to use the correct path?
> 
> Zsolt 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
-- 
Balint Domokos <domokosbalint@chello.hu>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message