### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: model/org/eclipse/jdt/core/IClasspathContainer.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IClasspathContainer.java,v retrieving revision 1.24 diff -u -r1.24 IClasspathContainer.java --- model/org/eclipse/jdt/core/IClasspathContainer.java 7 Mar 2009 01:08:10 -0000 1.24 +++ model/org/eclipse/jdt/core/IClasspathContainer.java 25 May 2010 16:11:40 -0000 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -27,6 +27,10 @@ *
  • project entries (CPE_PROJECT)
  • * * In particular, a classpath container can neither reference further classpath containers or classpath variables. + *

    + * A library entry can reference other libraries through the Class-Path section of the JAR's MANIFEST.MF file. If the + * container wants such referenced entries to be part of the classpath, the container must explicitly add them to the + * array returned from {@link #getClasspathEntries()}. *

    * Classpath container values are persisted locally to the workspace, but are not preserved from a * session to another. It is thus highly recommended to register a ClasspathContainerInitializer @@ -63,7 +67,10 @@ * * A classpath container can neither reference further classpath containers * or classpath variables. - *

    + *

    + * A library entry can reference other libraries through the Class-Path section of the JAR's MANIFEST.MF file. If + * the container wants such referenced entries to be part of the classpath, the container must explicitly add them + * to the result. *

    * This method is called by the Java model when it needs to resolve this * classpath container entry into a list of library and project entries. @@ -80,6 +87,7 @@ *

  • {@link JavaCore#newProjectEntry(IPath, boolean)} and variants
  • *
  • {@link JavaCore#create(org.eclipse.core.resources.IWorkspaceRoot)}
  • *
  • {@link JavaCore#create(org.eclipse.core.resources.IProject)}
  • + *
  • {@link JavaCore#getReferencedClasspathEntries(IClasspathEntry, IJavaProject)} with null as project
  • *
  • {@link IJavaModel#getJavaProjects()}
  • *
  • {@link IJavaProject#getRawClasspath()}
  • *
  • {@link IJavaProject#readRawClasspath()}