misc changes in the internal builder
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / DeltaProcessor.java
index 45ffede..bbfe240 100644 (file)
@@ -22,8 +22,8 @@ import net.sourceforge.phpdt.core.IJavaElement;
 import net.sourceforge.phpdt.core.IJavaModel;
 import net.sourceforge.phpdt.core.IJavaProject;
 import net.sourceforge.phpdt.core.JavaModelException;
+import net.sourceforge.phpdt.core.JavaCore;
 import net.sourceforge.phpdt.internal.ui.util.PHPFileUtil;
-import net.sourceforge.phpeclipse.PHPCore;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 
 import org.eclipse.core.resources.IFile;
@@ -229,7 +229,7 @@ public class DeltaProcessor implements IResourceChangeListener {
         * to update.
         */
        void addToProjectsToUpdateWithDependents(IProject project) {
-               this.projectsToUpdate.add(PHPCore.create(project));
+               this.projectsToUpdate.add(JavaCore.create(project));
 //             this.addDependentProjects(project.getFullPath(), this.projectsToUpdate);
        }
        
@@ -1114,7 +1114,7 @@ public class DeltaProcessor implements IResourceChangeListener {
                                
                                // source attachment path
                                if (entry.getEntryKind() != IClasspathEntry.CPE_LIBRARY) continue;
-                               QualifiedName qName = new QualifiedName(PHPCore.PLUGIN_ID, "sourceattachment: " + path.toOSString()); //$NON-NLS-1$;
+                               QualifiedName qName = new QualifiedName(JavaCore.PLUGIN_ID, "sourceattachment: " + path.toOSString()); //$NON-NLS-1$;
                                String propertyString = null;
                                try {
                                        propertyString = ResourcesPlugin.getWorkspace().getRoot().getPersistentProperty(qName);