import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
remainingWorkUnits--;
}
if (!newProject.isOpen()) {
- newProject.open(new SubProgressMonitor(monitor, 1));
+ newProject.open(IResource.BACKGROUND_REFRESH, new SubProgressMonitor(monitor, 1));
remainingWorkUnits--;
}
JavaCore.addPHPNature(newProject, new SubProgressMonitor(