fix build breaks for removal of ISymbianSDK#getSDKVersion() C3_BUILDER_WORK
authortimkelly
Thu, 22 Jul 2010 16:37:37 -0500
branchC3_BUILDER_WORK
changeset 1674 767ac4954317
parent 1673 ccc7f4cfe866
child 1675 3af0516cfce5
fix build breaks for removal of ISymbianSDK#getSDKVersion()
core/com.nokia.carbide.cpp.codescanner/src/com/nokia/carbide/cpp/internal/codescanner/kb/CSKbManager.java
debuggercdi/com.nokia.cdt.debug.cw.symbian/src/com/nokia/cdt/debug/cw/symbian/SettingsData.java
--- a/core/com.nokia.carbide.cpp.codescanner/src/com/nokia/carbide/cpp/internal/codescanner/kb/CSKbManager.java	Thu Jul 22 16:21:59 2010 -0500
+++ b/core/com.nokia.carbide.cpp.codescanner/src/com/nokia/carbide/cpp/internal/codescanner/kb/CSKbManager.java	Thu Jul 22 16:37:37 2010 -0500
@@ -394,7 +394,9 @@
 			List<ICarbideBuildConfiguration> buildConfigList = projectInfo.getBuildConfigurations();
 			for (Iterator<ICarbideBuildConfiguration> iterator = buildConfigList.iterator(); iterator.hasNext();) {
 				ICarbideBuildConfiguration buildConfig = iterator.next();
-				Version version = buildConfig.getSDK().getSDKVersion();
+				// TODO: What is SDK version used for for codescanner?
+//				Version version = buildConfig.getSDK().getSDKVersion();
+				Version version = new Version("5.0.0");
 				sdkVersions.add(version);
 			}
 		}
--- a/debuggercdi/com.nokia.cdt.debug.cw.symbian/src/com/nokia/cdt/debug/cw/symbian/SettingsData.java	Thu Jul 22 16:21:59 2010 -0500
+++ b/debuggercdi/com.nokia.cdt.debug.cw.symbian/src/com/nokia/cdt/debug/cw/symbian/SettingsData.java	Thu Jul 22 16:37:37 2010 -0500
@@ -792,13 +792,7 @@
 			if (new Path(currSDK.getEPOCROOT()).isPrefixOf(mainExeHostPath))
 			{
 			    // Apparently this only works correctly with the S60 emulator.
-				ISBSv1BuildInfo sbsv1BuildInfo = (ISBSv1BuildInfo)currSDK.getBuildInfo(ISymbianBuilderID.SBSV1_BUILDER);
-				if (sbsv1BuildInfo != null) {
-			        if (!sbsv1BuildInfo.isS60() &&
-			        	!currSDK.getFamily().equalsIgnoreCase(ISBSv1BuildInfo.TECHVIEW_FAMILY_ID))
-			        	return true;
-				}
-		        
+				
 				if ("exe".equalsIgnoreCase(mainExeHostPath.getFileExtension())) { //$NON-NLS-1$
 					Version version = currSDK.getOSVersion();
 					if (!(version.getMajor() == 9 && version.getMinor() == 1)) {