ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morgan Delagrange <mdela...@yahoo.com>
Subject Re: Possible ant regression?
Date Mon, 27 Jan 2003 01:17:49 GMT
Conor,  

I was skeptical that any of Jelly's Ant taglib
dependencies would have a duplicate AntClassLoader,
but you were right:

 
http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/grant/src/java/org/apache/tools/ant/AntClassLoader.java

That's probably the culprit.  Thanks for the help.

- Morgan

--- Conor MacNeill <conor@cortexebusiness.com.au>
wrote:
> Morgan Delagrange wrote:
> > This may be related, if it's caused by the new Ant
> > 1.2+ classloading.  The Ant taglib in Jelly
> started
> > having problems as of the 1/24 Ant build:
> > 
> >  
> >
>
http://marc.theaimsgroup.com/?l=jakarta-commons-dev&m=104360736921308&w=2
> > 
> > For some reason, when Ant tries to instantiate its
> > classloader, the JVM is throwing a
> NoSuchMethodError
> > for the AntClassLoader2 constructor.  I'm having
> > trouble figuring out why that's happening, or even
> how
> > it could happen.
> > 
> > - Morgan
> > 
> 
> Morgan,
> 
> Actually the problem is the lack of a zero arg
> constructor for AntClassLoader.
> 
> The only thing I can suggest here is that there is
> an old ant.jar (or 
> something containing the old version of the
> AntClassLoader.class) in your 
> classpath somewhere. The change that introduced
> AntClassLoader2 also added a 
> zero arg constructor to AntClassLoader. If you have
> an old ant.jar around, 
> the old version may be being picked up without the
> new zero arg constructor.
> 
> 
> Conor
> 



=====
Morgan Delagrange
http://jakarta.apache.org/taglibs
http://jakarta.apache.org/commons
http://axion.tigris.org
http://jakarta.apache.org/watchdog

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message