[Title] Removed converting old project
authordonghyuk.yang <donghyuk.yang@samsung.com>
Thu, 28 Jun 2012 02:09:34 +0000 (11:09 +0900)
committerdonghyuk.yang <donghyuk.yang@samsung.com>
Thu, 28 Jun 2012 02:09:34 +0000 (11:09 +0900)
Change-Id: Ie8dd06e195cf37596e6ecdfa80073efdc5365a28

org.tizen.nativeplatform/plugin.xml
org.tizen.nativeplatform/src/org/tizen/nativeplatform/Activator.java
org.tizen.nativeplatform/src/org/tizen/nativeplatform/build/PlatformConfigurationManager.java

index b01ff86..83dadee 100644 (file)
         </handler>
     </extension>
 
-       <!-- 1 -->
-    <extension
-        point="org.eclipse.cdt.managedbuilder.core.buildDefinitions">
-        <toolChain
-            configurationEnvironmentSupplier="org.tizen.nativeplatform.build.PlatformConfigurationEnvVarSupplier"
-            id="com.samsung.slp.nativeide.toolchain.sbi.gcc45sbox2.cdeb.base"
-            isAbstract="false"
-            name="[SBOX2] GCC-4.5 Custom Debian"
-            osList="linux"
-            superClass="com.samsung.slp.nativeide.toolchain.sbi.gnu.base">
-            <builder
-                autoBuildTarget="build"
-                buildfileGenerator="org.tizen.nativecommon.build.OldProjectMakeGenerator"
-                cleanBuildTarget="clean"
-                command="sbi-make"
-                commandLauncher="org.tizen.nativecommon.build.CommonBuildCommandLauncher"
-                id="org.tizen.nativeapp.target.sbi.gcc45sbox2.builder.cdeb"
-                incrementalBuildTarget="build"
-                name="Tizen Custom Debian Builder">
-            </builder>
-               <tool
-               id="com.samsung.slp.nativeide.tool.sbi.gnu.archiver.cdeb.base"                  
-                       superClass="com.samsung.slp.nativeide.tool.sbi.gnu.archiver.base">
-                       <enablement
-                               type="ALL">
-                               <false/>
-                       </enablement>                           
-               </tool>
-               <tool
-                       id="com.samsung.slp.nativeide.tool.sbi.gnu.cpp.compiler.cdeb.base"               
-                       superClass="com.samsung.slp.nativeide.tool.sbi.gnu.cpp.compiler.base">
-                       <enablement
-                               type="ALL">
-                               <false/>
-                       </enablement>                           
-               </tool>
-               <tool
-                       id="com.samsung.slp.nativeide.tool.sbi.gnu.c.compiler.cdeb.base"                
-                       superClass="com.samsung.slp.nativeide.tool.sbi.gnu.c.compiler.base">
-                       <enablement
-                               type="ALL">
-                               <false/>
-                       </enablement>                           
-            </tool>
-               <tool
-                       id="com.samsung.slp.nativeide.tool.sbi.gnu.c.linker.cdeb.base"                  
-                       superClass="com.samsung.slp.nativeide.tool.sbi.gnu.c.linker.base">
-                       <enablement
-                               type="ALL">
-                               <false/>
-                       </enablement>
-               </tool>
-               <tool
-                       id="com.samsung.slp.nativeide.tool.sbi.gnu.cpp.linker.cdeb.base"                
-                       superClass="com.samsung.slp.nativeide.tool.sbi.gnu.cpp.linker.base">
-                       <enablement
-                               type="ALL">
-                               <false/>
-                       </enablement>
-               </tool>
-               <tool
-                       id="com.samsung.tizen.nativeapp.tool.sbi.gnu.assembler.cdeb.base"
-                       superClass="com.samsung.tizen.nativeapp.tool.sbi.gnu.assembler.base">
-                       <enablement
-                               type="ALL">
-                               <false/>
-                       </enablement>
-               </tool>            
-        </toolChain>
-
-        <projectType
-            buildArtefactType="com.samsung.slp.nativeide.buildArtefactType.cdeb"
-            id="com.samsung.slp.nativebuild.target.sbi.gcc45sbox2.cdeb"
-            isAbstract="false"
-            isTest="false">
-            <configuration
-                cleanCommand="rm -f"
-                errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;"
-                id="com.samsung.slp.nativeide.config.sbi.gcc45sbox2.cdeb.emulator"
-                name="Tizen-Emulator">
-                <toolChain
-                    id="com.samsung.slp.nativeide.toolchain.sbi.gcc45sbox2.cdeb.emulator"
-                    superClass="com.samsung.slp.nativeide.toolchain.sbi.gcc45sbox2.cdeb.base">
-                </toolChain>
-            </configuration>
-            <configuration
-                cleanCommand="rm -f"
-                errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;"
-                id="com.samsung.slp.nativeide.config.sbi.gcc45sbox2.cdeb.device"
-                name="Tizen-Device">
-                <toolChain
-                    id="com.samsung.slp.nativeide.toolchain.sbi.gcc45sbox2.cdeb.device"
-                    superClass="com.samsung.slp.nativeide.toolchain.sbi.gcc45sbox2.cdeb.base">
-                </toolChain>
-            </configuration>          
-        </projectType>
-    </extension>
-
-    <extension
-          point="org.eclipse.cdt.managedbuilder.core.buildProperties">
-       <propertyValue
-             id="com.samsung.slp.nativeide.buildArtefactType.cdeb"
-             name="Tizen Custom Debian Project"
-             property="org.eclipse.cdt.build.core.buildArtefactType">
-       </propertyValue>
-    </extension> 
-
-       <!-- 2 -->
     <extension
         point="org.eclipse.cdt.managedbuilder.core.buildDefinitions">
         <toolChain
index 9ccdbff..2103520 100644 (file)
@@ -60,13 +60,7 @@ public class Activator extends AbstractUIPlugin {
         */
        public void start(BundleContext context) throws Exception {
                super.start(context);
-               plugin = this;
-               
-               ProjectTypeManager.registerProjectArtifactType(
-                               PlatformConfigurationManager.TIZEN_CUSTOM_DEBIAN_ARTIFACT_TYPE_OLD, 
-                               PlatformProjectDependentBuilder.getInstance(),
-                               PlatformProjectDependentPackager.getInstance(),
-                               false);         
+               plugin = this;          
                
                ProjectTypeManager.registerProjectArtifactType(
                                PlatformConfigurationManager.TIZEN_CUSTOM_DEBIAN_ARTIFACT_TYPE, 
index d106612..24214ab 100644 (file)
@@ -72,21 +72,10 @@ public class PlatformConfigurationManager extends CommonConfigurationManager
        public static  final String SBI_I386_OBS_TOOLCHAIN_NAME = "gcc45obs.i386.platform";
        public static  final String SBI_I386_ROOTSTRAP_NAME = "tizen-emulator-1.0.obs";
        
-       public static final  String TIZEN_CUSTOM_DEBIAN_ARTIFACT_TYPE_OLD = "com.samsung.slp.nativeide.buildArtefactType.cdeb";
-       public static  final String SBI_PROJECT_TYPE_ID_OLD = "com.samsung.slp.nativebuild.target.sbi.gcc45sbox2.cdeb";
-       public static  final String SBI_DEFAULT_I386_CONFIGRATION_ID_OLD = "com.samsung.slp.nativeide.config.sbi.gcc45sbox2.cdeb.emulator";
-       public static  final String SBI_DEFAULT_ARM_CONFIGRATION_ID_OLD = "com.samsung.slp.nativeide.config.sbi.gcc45sbox2.cdeb.device";
-       
        // get compiler flags
        public static String getAllCFlags( IConfiguration config )
        {
                String c_compiler_id = SBI_BASE_C_COMPILER_TOOL_ID;
-               
-               // TODO: should be removed
-               if ( isOldConfiguration(config) ) {
-                       c_compiler_id = SBI_BASE_C_COMPILER_TOOL_ID_OLD;
-               }
-
                return getAllCompilerFlags( config, c_compiler_id );    
        }       
 
@@ -94,12 +83,6 @@ public class PlatformConfigurationManager extends CommonConfigurationManager
        public static String getAllCPPFlags( IConfiguration config ) 
        {
                String cpp_compiler_id = SBI_BASE_CPP_COMPILER_TOOL_ID;
-               
-               // TODO: should be removed
-               if ( isOldConfiguration(config) ) {
-                       cpp_compiler_id = SBI_BASE_CPP_COMPILER_TOOL_ID_OLD;
-               }
-
                return getAllCompilerFlags( config, cpp_compiler_id );  
        }