misc changes in the internal builder
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / ClasspathEntry.java
index bdb0401..df61b62 100644 (file)
@@ -14,9 +14,9 @@ import net.sourceforge.phpdt.core.IClasspathEntry;
 import net.sourceforge.phpdt.core.IJavaProject;
 import net.sourceforge.phpdt.core.IPackageFragmentRoot;
 import net.sourceforge.phpdt.core.JavaModelException;
+import net.sourceforge.phpdt.core.JavaCore;
 import net.sourceforge.phpdt.core.compiler.CharOperation;
 import net.sourceforge.phpdt.internal.corext.Assert;
-import net.sourceforge.phpeclipse.PHPCore;
 
 import org.eclipse.core.runtime.IPath;
 import org.eclipse.core.runtime.Path;
@@ -256,7 +256,7 @@ public class ClasspathEntry implements IClasspathEntry {
                switch (kind) {
 
                        case IClasspathEntry.CPE_PROJECT :
-                               return PHPCore.newProjectEntry(path, isExported);
+                               return JavaCore.newProjectEntry(path, isExported);
                                
 //                     case IClasspathEntry.CPE_LIBRARY :
 //                             return JavaCore.newLibraryEntry(
@@ -269,9 +269,9 @@ public class ClasspathEntry implements IClasspathEntry {
                                // must be an entry in this project or specify another project
                                String projSegment = path.segment(0);
                                if (projSegment != null && projSegment.equals(project.getElementName())) { // this project
-                                       return PHPCore.newSourceEntry(path, exclusionPatterns, outputLocation);
+                                       return JavaCore.newSourceEntry(path, exclusionPatterns, outputLocation);
                                } else { // another project
-                                       return PHPCore.newProjectEntry(path, isExported);
+                                       return JavaCore.newProjectEntry(path, isExported);
                                }
 
 //                     case IClasspathEntry.CPE_VARIABLE :
@@ -282,7 +282,7 @@ public class ClasspathEntry implements IClasspathEntry {
 //                                             isExported);
                                
                        case IClasspathEntry.CPE_CONTAINER :
-                               return PHPCore.newContainerEntry(
+                               return JavaCore.newContainerEntry(
                                                path,
                                                isExported);
 
@@ -582,6 +582,6 @@ public class ClasspathEntry implements IClasspathEntry {
         */
        public IClasspathEntry getResolvedEntry() {
        
-               return PHPCore.getResolvedClasspathEntry(this);
+               return JavaCore.getResolvedClasspathEntry(this);
        }
 }