### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core 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.410 diff -u -r1.410 JavaProject.java --- model/org/eclipse/jdt/internal/core/JavaProject.java 27 Jun 2008 16:03:51 -0000 1.410 +++ model/org/eclipse/jdt/internal/core/JavaProject.java 21 Jul 2008 23:16:58 -0000 @@ -106,7 +106,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_PATH; /** * Value of the project's raw classpath if the .classpath file contains invalid entries. 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.101 diff -u -r1.101 IJavaProject.java --- model/org/eclipse/jdt/core/IJavaProject.java 27 Jun 2008 16:04:01 -0000 1.101 +++ model/org/eclipse/jdt/core/IJavaProject.java 21 Jul 2008 23:16:57 -0000 @@ -62,6 +62,20 @@ */ public interface IJavaProject extends IParent, IJavaElement, IOpenable { + /** + * Path to the file containing project classpath. + * + * @since 3.5 + */ + static final String CLASSPATH_FILE_PATH = ".classpath"; //$NON-NLS-1$ + + /** + * Path to the file containing java project preferences. + * + * @since 3.5 + */ + static final String JAVA_CORE_PREFS_FILE_PATH = ".settings/" + JavaCore.PLUGIN_ID + ".prefs"; //$NON-NLS-1$ //$NON-NLS-2$ + /** * Decodes the classpath entry that has been encoded in the given string * in the context of this project.