mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix to project creation code.
This commit is contained in:
parent
eac791976f
commit
8bf8075639
1 changed files with 2 additions and 2 deletions
|
@ -49,12 +49,12 @@ public class CProjectHelper {
|
||||||
project.open(null);
|
project.open(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!project.hasNature(CProjectNature.C_NATURE_ID)) {
|
if (!project.hasNature(CProjectNature.C_NATURE_ID)) {
|
||||||
|
CCorePlugin.getDefault().mapCProjectOwner(project, "Hi", false);
|
||||||
addNatureToProject(project, CProjectNature.C_NATURE_ID, null);
|
addNatureToProject(project, CProjectNature.C_NATURE_ID, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
ICProject cproject = CCorePlugin.getDefault().getCoreModel().create(project);
|
ICProject cproject = CCorePlugin.getDefault().getCoreModel().create(project);
|
||||||
|
|
||||||
return cproject;
|
return cproject;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue