1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fixed ordering problem where the CProjectNature was

trying to get at build info before it was created.
This commit is contained in:
Doug Schaefer 2003-07-10 18:28:24 +00:00
parent 6a897468ed
commit 2f2d91ff46
2 changed files with 1 additions and 2 deletions

View file

@ -53,7 +53,6 @@ public class StandardBuildManager implements IScannerInfoProvider {
try {
buildInfo = (IStandardBuildInfo)resource.getSessionProperty(buildInfoProperty);
} catch (CoreException e) {
return buildInfo;
}
// Try to load one for the project

View file

@ -518,8 +518,8 @@ public class CCorePlugin extends Plugin {
projectHandle.open(monitor);
// Add C Nature ... does not add duplicates
CProjectNature.addCNature(projectHandle, new SubProgressMonitor(monitor, 1));
mapCProjectOwner(projectHandle, projectID, false);
CProjectNature.addCNature(projectHandle, new SubProgressMonitor(monitor, 1));
} finally {
//monitor.done();
}