Added ISymbianSDKFeatures#IS_WINSCW_UDEB_SUPPORTED.
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/SBSv1BuildInfo.java Wed Aug 18 13:58:10 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/SBSv1BuildInfo.java Thu Aug 19 10:49:50 2010 -0500
@@ -82,12 +82,14 @@
return Collections.emptyList();
}
- buildTargets.add(new BuildContextSBSv1(sdk, ISBSv1BuildContext.EMULATOR_PLATFORM, ISymbianBuildContext.DEBUG_TARGET));
-
if (sdkFeatures.contains(ISymbianSDKFeatures.IS_WINSCW_UREL_SUPPORTED)){
buildTargets.add(new BuildContextSBSv1(sdk, ISBSv1BuildContext.EMULATOR_PLATFORM, ISymbianBuildContext.RELEASE_TARGET));
}
+ if (sdkFeatures.contains(ISymbianSDKFeatures.IS_WINSCW_UDEB_SUPPORTED)){
+ buildTargets.add(new BuildContextSBSv1(sdk, ISBSv1BuildContext.EMULATOR_PLATFORM, ISymbianBuildContext.DEBUG_TARGET));
+ }
+
for (String currPlat : buildPlats){
if (currPlat.equals(ISBSv1BuildContext.EMULATOR_PLATFORM) ) {
// emulation targets already determined (some SDKs don't get WISNCW UREL
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/SymbianSDK.java Wed Aug 18 13:58:10 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/SymbianSDK.java Thu Aug 19 10:49:50 2010 -0500
@@ -540,6 +540,7 @@
@SuppressWarnings("unchecked")
private void setSupportFeatures() {
scanForWINSCW_UREL();
+ scanForWINSCW_UDEB();
scanForAvkon();
sdkFeatures.add(ISymbianSDKFeatures.IS_EKA2);
}
@@ -586,4 +587,21 @@
}
}
+ /**
+ * Check to see whether or not we should support WINSCW UDEB
+ */
+ @SuppressWarnings("unchecked")
+ private void scanForWINSCW_UDEB(){
+ String winscwURELFullPathStr = getEPOCROOT();
+ winscwURELFullPathStr += WINSCW_UDEB_DIR;
+ IPath winscwURELPath = new Path(winscwURELFullPathStr);
+ if (winscwURELPath != null && winscwURELPath.toFile().exists()){
+ if (winscwURELPath.append("epoc.exe").toFile().exists()){
+ if (winscwURELPath.append("euser.dll").toFile().exists()){
+ sdkFeatures.add(ISymbianSDKFeatures.IS_WINSCW_UDEB_SUPPORTED);
+ }
+ }
+ }
+ }
+
}
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/sdk/core/ISymbianSDKFeatures.java Wed Aug 18 13:58:10 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/sdk/core/ISymbianSDKFeatures.java Thu Aug 19 10:49:50 2010 -0500
@@ -23,6 +23,7 @@
public static final String IS_QT_INSTALLED = "isQtInstalled";
public static final String IS_AVKON_SUPPORTED = "isAvkonSupported";
public static final String IS_WINSCW_UREL_SUPPORTED = "isWINSCWURELSupported";
+ public static final String IS_WINSCW_UDEB_SUPPORTED = "isWINSCWUDEBSupported";
public static final String IS_EKA1 = "isEKA1";
public static final String IS_EKA2 = "isEKA2";
public static final String IS_FROM_DEVICES_XML = "isFromDevicesXml";