committing phphelp to Plug-ins for feature to fix build dependence for phpmanual.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / wizards / NewProjectCreationWizard.java
index 559b7bc..28ce603 100644 (file)
@@ -9,6 +9,7 @@ import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 
 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;
@@ -84,7 +85,7 @@ public class NewProjectCreationWizard extends BasicNewResourceWizard implements
                                                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(