Project: JDT
Bug 56530 Only one User Library of many added to runtime classpath
Reported: 2004-03-29 03:20:55 | Status: resolved fixed

DefaultProjectClasspathEntry#expandProject() by default compares containers by using the "variable name" of the classpath container. This leads to only one of "n" classpath containers beeing added to the runtime classpath. Solution: UserLibraryClasspathContainer should implement IRuntimeContainerComparator for example as follows: public boolean isDuplicate(IPath containerPath) { return containerPath != null && containerPath.equals(getPath()); }

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/userlibrary/UserLibraryClasspathContainer.java