1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 09:16:02 +02:00

removed the autobuild disabling on project creation

This commit is contained in:
Mikhail Sennikovsky 2007-06-05 14:13:51 +00:00
parent 2739c9375d
commit b13f9ba593

View file

@ -21,7 +21,6 @@ import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription; import org.eclipse.core.resources.IProjectDescription;
import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspace; import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.IWorkspaceDescription;
import org.eclipse.core.resources.IWorkspaceRoot; import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.IWorkspaceRunnable; import org.eclipse.core.resources.IWorkspaceRunnable;
import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.resources.ResourcesPlugin;
@ -238,9 +237,9 @@ implements IExecutableExtension, IWizardWithMemory
final IProject newProjectHandle = root.getProject(name); final IProject newProjectHandle = root.getProject(name);
if (!newProjectHandle.exists()) { if (!newProjectHandle.exists()) {
IWorkspaceDescription workspaceDesc = workspace.getDescription(); // IWorkspaceDescription workspaceDesc = workspace.getDescription();
workspaceDesc.setAutoBuilding(false); // workspaceDesc.setAutoBuilding(false);
workspace.setDescription(workspaceDesc); // workspace.setDescription(workspaceDesc);
IProjectDescription description = workspace.newProjectDescription(newProjectHandle.getName()); IProjectDescription description = workspace.newProjectDescription(newProjectHandle.getName());
if(location != null) if(location != null)
description.setLocation(location); description.setLocation(location);