# HG changeset patch # User timkelly # Date 1284748534 18000 # Node ID 2a4e35146637affda5fce750afc825f37c85fed5 # Parent 258c76cf6142d9723b4ff7a80eb0bba02d8eaa24 fix bug 11384. Don't add project resource listener until the project description has been set. diff -r 258c76cf6142 -r 2a4e35146637 builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideProjectModifier.java --- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideProjectModifier.java Fri Sep 17 11:14:06 2010 -0500 +++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideProjectModifier.java Fri Sep 17 13:35:34 2010 -0500 @@ -262,8 +262,6 @@ } try { - // replace the old info in the map with the new - CarbideBuilderPlugin.getBuildManager().setProjectInfo(this); // save the CDT project description @@ -274,6 +272,10 @@ // TODO PERFORMANCE: this can lead to CarbideLanguageData#buildCache(), which is an enormously expensive operation. // So use a real progress monitor, say from a Job, so UI will be updated CCorePlugin.getDefault().setProjectDescription(projectTracker.getProject(), projDes, true, new NullProgressMonitor()); + + // replace the old info in the map with the new + CarbideBuilderPlugin.getBuildManager().setProjectInfo(this); + } finally { SymbianBuildContextDataCache.endProjectOperation(); }