# HG changeset patch # User timkelly # Date 1284561194 18000 # Node ID 549473f3167ee2c96f04688da5a43463e833e5b4 # Parent 283cfb261d8f27b9c166f0fb7177d6bc67f4ca14 don't scan sdks for p2 sites that are disabled diff -r 283cfb261d8f -r 549473f3167e 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 Wed Sep 15 09:32:22 2010 -0500 +++ b/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java Wed Sep 15 09:33:14 2010 -0500 @@ -59,6 +59,9 @@ SubMonitor subMonitor = SubMonitor.convert(monitor, 100); int worked = 100 / sdkList.size(); for (ISymbianSDK sdk : sdkList) { + if (!sdk.isEnabled()){ + continue; // Don't bother scanning SDKs that are not enabled + } ISBSv2BuildInfo sbsv2BuildInfo = (ISBSv2BuildInfo)sdk.getBuildInfo(ISymbianBuilderID.SBSV2_BUILDER); if (sbsv2BuildInfo != null) { if (sbsv2BuildInfo.isPreviouslyScanned() == false) {