clean up code by remove EKA1 functionality. Essentially removing dead code as there is no pre-os 9 functionality supported. C3_BUILDER_WORK
authortimkelly
Tue, 27 Jul 2010 16:30:33 -0500
branchC3_BUILDER_WORK
changeset 1707 ddfcc3a97d22
parent 1706 3ecac009d20b
child 1709 6bd6640867aa
clean up code by remove EKA1 functionality. Essentially removing dead code as there is no pre-os 9 functionality supported.
builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/builder/EpocEngineHelper.java
builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv1Builder.java
templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-EXE/sis/Basename.pkg
templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-EXE/sis/Basename_EKA1.pkg
--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/builder/EpocEngineHelper.java	Tue Jul 27 16:14:29 2010 -0500
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/builder/EpocEngineHelper.java	Tue Jul 27 16:30:33 2010 -0500
@@ -776,16 +776,6 @@
 											path = sdk.getReleaseRoot().append(releasePlatform.toLowerCase()).append(buildConfig.getTargetString().toLowerCase());
 										}
 
-										// if targetpath is non-null and this is an EKA1 emulator config then add it
-										if (buildConfig.getPlatformString().toUpperCase().equals(ISBSv1BuildContext.EMULATOR_PLATFORM)) {
-											if (buildConfig.getSDK().getOSVersion().getMajor() < 9) {
-												String targetPath = mmpData.getSingleArgumentSettings().get(EMMPStatement.TARGETPATH);
-												if (targetPath != null) {
-													path = path.append("z").append(targetPath); //$NON-NLS-1$
-												}
-											}
-										}
-
 										// adapt to variant, if needed
 										IPath targetPath = path.append(exePath);
 										if (isVariantBldInf(buildConfig.getCarbideProject().getAbsoluteBldInfPath()) || isFeatureVariantMMP(mmpData, info.getProject())) {
@@ -1131,12 +1121,8 @@
 		if (targetPathStr != null) {
 			targetPath = PathUtils.createPath(targetPathStr).makeAbsolute();
 		} else {
-			// for EKA1 just leave empty.  for EKA2 use sys\bin\
-			if (buildConfig.getSDK().getOSVersion().getMajor() > 8) {
-				targetPath = new Path("/sys/bin/"); //$NON-NLS-1$
-			} else {
-				targetPath = Path.ROOT; //$NON-NLS-1$
-			}
+			//for EKA2 use sys\bin\
+			targetPath = new Path("/sys/bin/"); //$NON-NLS-1$
 		}
 	
 		IPath dataZDir = buildConfig.getSDK().getReleaseRoot().removeLastSegments(1).append("/data/z/"); //$NON-NLS-1$
--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv1Builder.java	Tue Jul 27 16:14:29 2010 -0500
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv1Builder.java	Tue Jul 27 16:30:33 2010 -0500
@@ -653,12 +653,8 @@
 						IPath targetP = new Path(targetPath).makeRelative().addTrailingSeparator();
 						targetPath = targetP.toOSString();
 					} else {
-						// for EKA1 just leave empty.  for EKA2 use sys\bin\
-						if (buildConfig.getSDK().getOSVersion().getMajor() > 8) {
-							targetPath = "sys\\bin\\"; //$NON-NLS-1$
-						} else {
-							targetPath = ""; //$NON-NLS-1$
-						}
+						// for EKA2 use sys\bin\
+						targetPath = "sys\\bin\\"; //$NON-NLS-1$
 					}
 
 					String dataZDir = buildConfig.getSDK().getReleaseRoot().removeLastSegments(1).toOSString() + "\\Data\\z\\"; //$NON-NLS-1$
--- a/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-EXE/sis/Basename.pkg	Tue Jul 27 16:14:29 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-; Installation file for $(baseName) EXE
-;
-; This is an auto-generated PKG file by Carbide.
-; This file uses variables specific to Carbide builds that will not work
-; on command-line builds. If you want to use this generated PKG file from the
-; command-line tools you will need to modify the variables with the appropriate
-; values: $(EPOCROOT), $(PLATFORM), $(TARGET)
-;
-
-;
-; UID is the exe's UID
-;
-#{"$(baseName) EXE"},($(uid3)),1,0,0
-
-; the vendor names are required for EKA2 so uncomment
-; these two lines for S60 3.0 and UIQ 3.x.
-;Localised Vendor name
-%{"Vendor-EN"}
-
-;Unique Vendor name
-;:"Vendor"
-
-"$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\$(baseName).exe"		  -"!:\system\programs\$(baseName).exe"
-	
\ No newline at end of file
--- a/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-EXE/sis/Basename_EKA1.pkg	Tue Jul 27 16:14:29 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-; Installation file for ARMI & THUMB Build for generic EKA1 console application
-; Installation file for $(baseName) application
-;
-; This is an auto-generated PKG file by Carbide.
-; This file uses variables specific to Carbide builds that will not work
-; on command-line builds. If you want to use this generated PKG file from the
-; command-line tools you will need to modify the variables with the appropriate
-; values: $(EPOCROOT), $(PLATFORM), $(TARGET)
-;
-;
-; UID is the exe's UID
-;
-#{"$(baseName) EXE"},(0x0),1,0,0
-
-;Localised Vendor name
-;%{"Vendor-EN"}
-
-;Unique Vendor name
-;:"Vendor"
-
-"$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\$(baseName).exe"		  -"!:\system\programs\$(baseName).exe"
-