https://issues.apache.org/bugzilla/show_bug.cgi?id=35060


Trevin Beattie <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]




--- Comment #4 from Trevin Beattie <[EMAIL PROTECTED]>  2008-04-18 15:54:27 PST 
---
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/ClasspathUtils.java?r1=276313&r2=277160&diff_format=h

Why does ClasspathUtils.getUniqueClassLoaderForPath no longer set the new class
loader's classpath to the system class path when no explicit path is provided?

I'm having this same problem with ivy.  I tried copying ant.jar and
ant-launcher.jar to /usr/share/java/ant/ as Kaj suggested, but in my case I
still got the error "Could not create task or type of type:
antlib:org.apache.ivy.ant:retrieve."

I loaded up ant in Eclipse's debugger and tried to trace through it.  All of
the jars in ~/.ant/lib/ are added to the java.class.path system property as
well as the thread's context class loader, but when ant goes to load the
resource "org/apache/ivy/ant/antlib.xml", it's not using that URLClassLoader;
it's using a new AntClassLoader2 instead.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to