Fix for Bug 12112, NewPluginChecker no longer update SDK cache when checking for features in SDKs.
authorstechong
Fri, 17 Sep 2010 13:39:24 -0500
changeset 2045 00e887c4a2c8
parent 2044 2a4e35146637
child 2046 f375c7305c9d
Fix for Bug 12112, NewPluginChecker no longer update SDK cache when checking for features in SDKs.
core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java
--- a/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java	Fri Sep 17 13:35:34 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java	Fri Sep 17 13:39:24 2010 -0500
@@ -56,7 +56,6 @@
 			@Override
 			protected IStatus run(IProgressMonitor monitor) {
 				boolean installed = false;
-				boolean oneSDKWasScanned = false;
 				SubMonitor subMonitor = SubMonitor.convert(monitor, 100);
 				int worked = 100 / sdkList.size();
 				for (ISymbianSDK sdk : sdkList) {
@@ -66,7 +65,6 @@
 					ISBSv2BuildInfo sbsv2BuildInfo = (ISBSv2BuildInfo)sdk.getBuildInfo(ISymbianBuilderID.SBSV2_BUILDER);
 					if (sbsv2BuildInfo != null) {
 						if (sbsv2BuildInfo.isPreviouslyScanned() == false) {
-							oneSDKWasScanned = true;
 							// XML was parsed, now try to run the feature installer
 							sbsv2BuildInfo.setPreviouslyScanned(true);
 							File featureDir = new File(sdk.getEPOCROOT() + SDK_FEATURE_SUBDIR);
@@ -93,9 +91,6 @@
 					}
 				}
 				
-				if (oneSDKWasScanned) {
-					SDKCorePlugin.getSDKManager().updateCarbideSDKCache();
-				}
 				if (installed) {
 					// plugins from some SDK were installed
 					//doEclipseRestartDialog(workbench);