Fix bug 11048
authortimkelly
Thu, 08 Apr 2010 15:42:53 -0500
changeset 1183 00adbfb5e5c4
parent 1179 bb47b3646d60
child 1190 e0412d845ffb
Fix bug 11048
core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SBSv2Utils.java
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SBSv2Utils.java	Thu Apr 08 14:17:41 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SBSv2Utils.java	Thu Apr 08 15:42:53 2010 -0500
@@ -300,6 +300,9 @@
 					String baseBuildPlatform = null;
 					if (parentNode != null){
 						baseBuildPlatform = parentNode.getAttributes().getNamedItem("name").getNodeValue();
+						if (baseBuildPlatform.split("_").length > 1){
+							baseBuildPlatform = baseBuildPlatform.split("_")[0];
+						}
 					}
 					
 					// only support configs that fall into something we can make a build context