### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: model/org/eclipse/jdt/core/IJavaProject.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IJavaProject.java,v retrieving revision 1.105 diff -u -r1.105 IJavaProject.java --- model/org/eclipse/jdt/core/IJavaProject.java 4 Dec 2010 02:42:13 -0000 1.105 +++ model/org/eclipse/jdt/core/IJavaProject.java 4 Feb 2011 15:31:40 -0000 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2010 IBM Corporation and others. + * Copyright (c) 2000, 2011 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 @@ -63,6 +63,22 @@ public interface IJavaProject extends IParent, IJavaElement, IOpenable { /** + * Path of the file containing the project's classpath. + * + *

The file is a child of the project folder.

+ *

The format of this file is unspecified and it is not meant to be modified. + * Its contents is modified by using the IJavaProject#setRawClasspath(..) methods.

+ * + * @see #setRawClasspath(IClasspathEntry[], IProgressMonitor) + * @see #setRawClasspath(IClasspathEntry[], boolean, IProgressMonitor) + * @see #setRawClasspath(IClasspathEntry[], IPath, IProgressMonitor) + * @see #setRawClasspath(IClasspathEntry[], IClasspathEntry[], IPath, IProgressMonitor) + * @see #setRawClasspath(IClasspathEntry[], IPath, boolean, IProgressMonitor) + * @since 3.7 + */ + String CLASSPATH_FILE_NAME = ".classpath"; //$NON-NLS-1$ + + /** * Decodes the classpath entry that has been encoded in the given string * in the context of this project. * Returns null if the encoded entry is malformed. Index: model/org/eclipse/jdt/internal/core/JavaProject.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java,v retrieving revision 1.441 diff -u -r1.441 JavaProject.java --- model/org/eclipse/jdt/internal/core/JavaProject.java 22 Dec 2010 05:56:55 -0000 1.441 +++ model/org/eclipse/jdt/internal/core/JavaProject.java 4 Feb 2011 15:31:40 -0000 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2010 IBM Corporation and others. + * Copyright (c) 2000, 2011 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 @@ -110,7 +110,7 @@ /** * Name of file containing project classpath */ - public static final String CLASSPATH_FILENAME = ".classpath"; //$NON-NLS-1$ + public static final String CLASSPATH_FILENAME = IJavaProject.CLASSPATH_FILE_NAME; /** * Value of the project's raw classpath if the .classpath file contains invalid entries.