Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 169852 Details for
Bug 313890
Migration guide to 3.6 for containers with MANIFEST-referred entries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch 2 (Javadoc only)
313890_v2_patch.txt (text/plain), 2.74 KB, created by
Markus Keller
on 2010-05-25 12:32:31 EDT
(
hide
)
Description:
Patch 2 (Javadoc only)
Filename:
MIME Type:
Creator:
Markus Keller
Created:
2010-05-25 12:32:31 EDT
Size:
2.74 KB
patch
obsolete
>### 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 @@ > * <li> project entries (<code>CPE_PROJECT</code>) </li> > * </ul> > * In particular, a classpath container can neither reference further classpath containers or classpath variables. >+ * <p> >+ * 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()}. > * <p> > * 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 <code>ClasspathContainerInitializer</code> >@@ -63,7 +67,10 @@ > * </ul> > * A classpath container can neither reference further classpath containers > * or classpath variables. >- * </p> >+ * <p> >+ * 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. > * <p> > * 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 @@ > * <li>{@link JavaCore#newProjectEntry(IPath, boolean)} and variants</li> > * <li>{@link JavaCore#create(org.eclipse.core.resources.IWorkspaceRoot)}</li> > * <li>{@link JavaCore#create(org.eclipse.core.resources.IProject)}</li> >+ * <li>{@link JavaCore#getReferencedClasspathEntries(IClasspathEntry, IJavaProject)} with <code>null</code> as project</li> > * <li>{@link IJavaModel#getJavaProjects()}</li> > * <li>{@link IJavaProject#getRawClasspath()}</li> > * <li>{@link IJavaProject#readRawClasspath()}</li>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 313890
:
169638
|
169852
|
170020
|
170062
|
170087
|
170163
|
170164
|
170165