[Title] Changed name included *cdeb* to *platform*
authordonghyuk.yang <donghyuk.yang@samsung.com>
Wed, 14 Mar 2012 11:46:49 +0000 (20:46 +0900)
committerdonghyuk.yang <donghyuk.yang@samsung.com>
Wed, 14 Mar 2012 11:46:49 +0000 (20:46 +0900)
[Type] Enhancement
[Module] nativeplatform
[Priority] normal

Change-Id: Ic3dc285fb86712234809f6e8469bbee1aa9e227f

org.tizen.nativeplatform/plugin.xml
org.tizen.nativeplatform/src/org/tizen/nativeplatform/Activator.java
org.tizen.nativeplatform/src/org/tizen/nativeplatform/build/PlatformConfigurationManager.java
org.tizen.nativeplatform/src/org/tizen/nativeplatform/pkgInstall/PackageManager.java
org.tizen.nativeplatform/src/org/tizen/nativeplatform/wizards/TizenDebianMainWizardPage.java
org.tizen.nativeplatform/src/org/tizen/nativeplatform/wizards/TizenDebianProjectWizard.java

index b29bf71..561bdbb 100644 (file)
@@ -8,19 +8,19 @@
             filterPattern=".*"
             id="org.tizen.nativeapp.templates.custom.debian.EmptyProject"
             location="templates/InhouseFrameworkPackages/EmptyProject/template.xml"
-            projectType="org.tizen.nativeide.buildArtefactType.cdeb">
+            projectType="org.tizen.nativeide.buildArtefactType.platform">
         </template>
         <template
             filterPattern=".*"
             id="org.tizen.nativeapp.templates.custom.debian.HelloWorldProject"
             location="templates/InhouseFrameworkPackages/HelloWorldProject/template.xml"
-            projectType="org.tizen.nativeide.buildArtefactType.cdeb">
+            projectType="org.tizen.nativeide.buildArtefactType.platform">
         </template>
         <template
             filterPattern=".*"
             id="org.tizen.nativeapp.templates.custom.debian.AgentProject"
             location="templates/InhouseFrameworkPackages/AgentProject/template.xml"
-            projectType="org.tizen.nativeide.buildArtefactType.cdeb">
+            projectType="org.tizen.nativeide.buildArtefactType.platform">
         </template>
         <template
             filterPattern=".*"
         point="org.eclipse.cdt.managedbuilder.core.buildDefinitions">
         <toolChain
             configurationEnvironmentSupplier="org.tizen.nativeplatform.build.PlatformConfigurationEnvVarSupplier"
-            id="org.tizen.nativeide.toolchain.sbi.gcc45sbox2.cdeb.base"
+            id="org.tizen.nativeide.toolchain.sbi.gcc45.platform.base"
             isAbstract="false"
-            name="[SBOX2] GCC-4.5 Custom Debian"
+            name="[SBOX2] GCC-4.5 Platform"
             osList="linux"
             superClass="org.tizen.nativeide.toolchain.sbi.gnu.base">
             <builder
                 cleanBuildTarget="clean"
                 command="sbi-make"
                 commandLauncher="org.tizen.nativecommon.build.CommonBuildCommandLauncher"
-                id="org.tizen.nativeapp.target.sbi.gcc45sbox2.builder"
+                id="org.tizen.nativeide.target.sbi.gcc45.platform.builder"
                 incrementalBuildTarget="build"
-                name="Tizen Custom Debian Builder">
+                name="Tizen Platform Builder">
             </builder>
                <tool
-               id="org.tizen.nativeide.tool.sbi.gnu.archiver.cdeb.base"                
+               id="org.tizen.nativeide.tool.sbi.gnu.archiver.platform.base"                    
                        superClass="org.tizen.nativeide.tool.sbi.gnu.archiver.base">
                        <enablement
                                type="ALL">
                        </enablement>                           
                </tool>
                <tool
-                       id="org.tizen.nativeide.tool.sbi.gnu.cpp.compiler.cdeb.base"               
+                       id="org.tizen.nativeide.tool.sbi.gnu.cpp.compiler.platform.base"               
                        superClass="org.tizen.nativeide.tool.sbi.gnu.cpp.compiler.base">
                        <enablement
                                type="ALL">
                        </enablement>                           
                </tool>
                <tool
-                       id="org.tizen.nativeide.tool.sbi.gnu.c.compiler.cdeb.base"                      
+                       id="org.tizen.nativeide.tool.sbi.gnu.c.compiler.platform.base"                  
                        superClass="org.tizen.nativeide.tool.sbi.gnu.c.compiler.base">
                        <enablement
                                type="ALL">
                        </enablement>                           
             </tool>
                <tool
-                       id="org.tizen.nativeide.tool.sbi.gnu.c.linker.cdeb.base"                
+                       id="org.tizen.nativeide.tool.sbi.gnu.c.linker.platform.base"                    
                        superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base">
                        <enablement
                                type="ALL">
                        </enablement>
                </tool>
                <tool
-                       id="org.tizen.nativeide.tool.sbi.gnu.cpp.linker.cdeb.base"                      
+                       id="org.tizen.nativeide.tool.sbi.gnu.cpp.linker.platform.base"                  
                        superClass="org.tizen.nativeide.tool.sbi.gnu.cpp.linker.base">
                        <enablement
                                type="ALL">
                        </enablement>
                </tool>
                <tool
-                       id="org.tizen.nativeapp.tool.sbi.gnu.assembler.cdeb.base"
+                       id="org.tizen.nativeapp.tool.sbi.gnu.assembler.platform.base"
                        superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
                        <enablement
                                type="ALL">
         </toolChain>
 
         <projectType
-            buildArtefactType="org.tizen.nativeide.buildArtefactType.cdeb"
-            id="org.tizen.nativebuild.target.sbi.gcc45sbox2.cdeb"
+            buildArtefactType="org.tizen.nativeide.buildArtefactType.platform"
+            id="org.tizen.nativebuild.target.sbi.gcc45.platform"
             isAbstract="false"
             isTest="false">
             <configuration
                 cleanCommand="rm -f"
                 errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;"
-                id="org.tizen.nativeide.config.sbi.gcc45sbox2.cdeb.emulator"
+                id="org.tizen.nativeide.config.sbi.gcc45.platform.emulator"
                 name="Tizen-Emulator">
                 <toolChain
-                    id="org.tizen.nativeide.toolchain.sbi.gcc45sbox2.cdeb.emulator"
-                    superClass="org.tizen.nativeide.toolchain.sbi.gcc45sbox2.cdeb.base">
+                    id="org.tizen.nativeide.toolchain.sbi.gcc45.platform.emulator"
+                    superClass="org.tizen.nativeide.toolchain.sbi.gcc45.platform.base">
                 </toolChain>
             </configuration>
             <configuration
                 cleanCommand="rm -f"
                 errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;"
-                id="org.tizen.nativeide.config.sbi.gcc45sbox2.cdeb.device"
+                id="org.tizen.nativeide.config.sbi.gcc45.platform.device"
                 name="Tizen-Device">
                 <toolChain
-                    id="org.tizen.nativeide.toolchain.sbi.gcc45sbox2.cdeb.device"
-                    superClass="org.tizen.nativeide.toolchain.sbi.gcc45sbox2.cdeb.base">
+                    id="org.tizen.nativeide.toolchain.sbi.gcc45.platform.device"
+                    superClass="org.tizen.nativeide.toolchain.sbi.gcc45.platform.base">
                 </toolChain>
             </configuration>          
         </projectType>
     <extension
           point="org.eclipse.cdt.managedbuilder.core.buildProperties">
        <propertyValue
-             id="org.tizen.nativeide.buildArtefactType.cdeb"
-             name="Tizen Custom Debian Project"
+             id="org.tizen.nativeide.buildArtefactType.platform"
+             name="Tizen Platform Project"
              property="org.eclipse.cdt.build.core.buildArtefactType">
        </propertyValue>
     </extension>    
         <converter
             class="org.tizen.nativeplatform.build.PlatformProjectConverter"
             fromId="com.samsung.slp.nativebuild.target.sbi.gcc45sbox2.cdeb"
-            id="org.tizen.nativeapp.converter.cdeb"
+            id="org.tizen.nativeapp.converter.platform"
             mbsVersion="4.0.0"
-            name="Upgrade Tizen Custom Debian Project, GCC-4.5(SBOX2)"
-            toId="org.tizen.nativebuild.target.sbi.gcc45sbox2.cdeb">
+            name="Upgrade Tizen Platform Project, GCC-4.5"
+            toId="org.tizen.nativebuild.target.sbi.gcc45.platform">
         </converter>
     </extension>
 <!-- build end -->        
             finalPerspective="org.tizen.nativeapp.perspective"
             icon="icons/newc_app.gif"
             id="org.tizen.nativeapp.newCategory.customWizard"
-            name="Tizen Custom Debian Project"
+            name="Tizen Platform Project"
             preferredPerspectives="org.tizen.nativeapp.perspective"
             project="true">
         </wizard>
         <launchConfigurationType
             delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegate"
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationType"
-            name="Tizen Custom Debian Project"
+            name="Tizen Platform Project"
             public="true"/>
 
         <launchConfigurationType
             delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegateForAttach"
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationTypeForAttach"
-            name="Tizen Custom Debian Project - Attach"
+            name="Tizen Platform Project - Attach"
             public="true"/>
 
         <launchConfigurationType
             delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegateForCore"
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationTypeForCore"
-            name="Tizen Custom Debian Project - Coredump"
+            name="Tizen Platform Project - Coredump"
             public="true"/>
     </extension>
 
             delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegate"
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegate"
             modes="run,debug"
-            name="Tizen Custom Debian Project"
-            delegateDescription="The Tizen Custom Debian Project Launcher supports running Tizen application on device"
+            name="Tizen Platform Project"
+            delegateDescription="The Tizen Platform Project Launcher supports running Tizen application on device"
             sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
             sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer"
             type="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationType"/>
             delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegateForAttach"
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegateForAttach"
             modes="debug"
-            name="Tizen Custom Debian Project - Attach"
-            delegateDescription="The Tizen Custom Debian Project Launcher supports attach debugging Tizen process on device"
+            name="Tizen Platform Project - Attach"
+            delegateDescription="The Tizen Platform Project Launcher supports attach debugging Tizen process on device"
             sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
             sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer"
             type="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationTypeForAttach"/>
             delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegateForCore"
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegateForCore"
             modes="debug"
-            name="Tizen Custom Debian Project - Coredump"
-            delegateDescription="The Tizen Custom Debian Project Launcher supports coredump debugging"
+            name="Tizen Platform Project - Coredump"
+            delegateDescription="The Tizen Platform Project Launcher supports coredump debugging"
             sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
             sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer"
             type="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationTypeForCore"/>
         <tab
             id="org.tizen.nativeplatform.launch.ui.TizenDebianMainTab"
             group="org.tizen.nativeplatform.launch.ui.TizenDebianLaunchConfigurationTabGroup"
-            name="Tizen Custom Debian Project Main Tab"
+            name="Tizen Platform Project Main Tab"
             class="org.tizen.nativeplatform.launch.ui.TizenDebianMainTab">
             <associatedDelegate delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegate"/>
         </tab>
         <tab
             id="org.tizen.nativeplatform.launch.ui.TizenDebianMainTab"
             group="org.tizen.nativeplatform.launch.ui.TizenDebianLaunchConfigurationForAttachTabGroup"
-            name="Tizen Custom Debian Project Main Tab"
+            name="Tizen Platform Project Main Tab"
             class="org.tizen.nativeplatform.launch.ui.TizenDebianMainTab">
             <associatedDelegate delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegateForAttach"/>
         </tab>
         <tab
             id="org.tizen.nativeplatform.launch.ui.TizenDebianMainCoreTab"
             group="org.tizen.nativeplatform.launch.ui.TizenDebianLaunchConfigurationForCoreTabGroup"
-            name="Tizen Custom Debian Project main tab for coredump"
+            name="Tizen Platform Project main tab for coredump"
             class="org.tizen.nativeplatform.launch.ui.TizenDebianMainCoreTab">
             <associatedDelegate delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegateForCore"/>
         </tab>
     <extension
         point="org.eclipse.debug.ui.launchShortcuts">
         <shortcut
-            label="Tizen Custom Debian Project"
+            label="Tizen Platform Project"
             icon="icons/Tizen_Custom_Debian_ConfigurationType_Image.gif"
             modes="run,debug"
             class="org.tizen.nativeplatform.launch.ui.shortcut.TizenDebianProjectLaunchShortcut"
         </contextualLaunch>
         <description
             mode="run"
-            description="Runs a Tizen Custom Debian Project"/>
+            description="Runs a Tizen Platform Project"/>
         <description
             mode="debug"
-            description="Debugs a Tizen Custom Debian Project"/>
+            description="Debugs a Tizen Platform Project"/>
         <configurationType
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationType">
         </configurationType>
         </shortcut>
 
         <shortcut
-            label="Tizen Custom Debian Project - Attach"
+            label="Tizen Platform Project - Attach"
             icon="icons/Tizen_Custom_Debian_ConfigurationType_Image_Attach.gif"
             modes="debug"
             class="org.tizen.nativeplatform.launch.ui.shortcut.TizenDebianProjectAttachLaunchShortcut"
         </contextualLaunch>
         <description
             mode="debug"
-            description="Attach Debugs a Tizen Custom Debian Project"/>
+            description="Attach Debugs a Tizen Platform Project"/>
         <configurationType
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationTypeForAttach">
         </configurationType>
         </shortcut>
 
         <shortcut
-            label="Tizen Custom Debian Project - Coredump"
+            label="Tizen Platform Project - Coredump"
             icon="icons/Tizen_Custom_Debian_ConfigurationType_Image_Core.gif"
             modes="debug"
             class="org.tizen.nativeplatform.launch.ui.shortcut.TizenDebianProjectCoredumpLaunchShortcut"
         </contextualLaunch>
         <description
             mode="debug"
-            description="Coredump Debugs a Tizen Custom Debian Project"/>
+            description="Coredump Debugs a Tizen Platform Project"/>
         <configurationType
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationTypeForCore">
         </configurationType>
index dbc3042..9ccdbff 100644 (file)
@@ -73,9 +73,6 @@ public class Activator extends AbstractUIPlugin {
                                PlatformProjectDependentBuilder.getInstance(),
                                PlatformProjectDependentPackager.getInstance(),
                                true);
-               
-               //SLPProjectTypeManager.registerBuilder("SLP Custom Debian Package", CustomDebianProjectDependentBuilder.getInstance() );
-               //SLPProjectTypeManager.registerBuilder("SLP Inhouse Framework Package", InhouseFrameworkProjectDependentBuilder.getInstance() );
        }
 
        /*
index e50dbbd..65e704e 100644 (file)
@@ -59,15 +59,13 @@ public class PlatformConfigurationManager extends CommonConfigurationManager
 {
        // ProjectInfo
        public static final String CURRENT_SLP_PROJECT_VERSION = "1.0.0";
-       public static final String TIZEN_CUSTOM_DEBIAN_ARTIFACT_TYPE = "org.tizen.nativeide.buildArtefactType.cdeb";
-       
-       
+       public static final String TIZEN_CUSTOM_DEBIAN_ARTIFACT_TYPE = "org.tizen.nativeide.buildArtefactType.platform";        
        public static final String OLD_SLP_CUSTOM_DEBIAN_ARTIFACT_TYPE = "com.samsung.slp.project.custom.debian";
 
        // SBI Compatibility    
-       public static  final String SBI_PROJECT_TYPE_ID = "org.tizen.nativebuild.target.sbi.gcc45sbox2.cdeb";
-       public static  final String SBI_DEFAULT_I386_CONFIGRATION_ID = "org.tizen.nativeide.config.sbi.gcc45sbox2.cdeb.emulator";
-       public static  final String SBI_DEFAULT_ARM_CONFIGRATION_ID = "org.tizen.nativeide.config.sbi.gcc45sbox2.cdeb.device";  
+       public static  final String SBI_PROJECT_TYPE_ID = "org.tizen.nativebuild.target.sbi.gcc45.platform";
+       public static  final String SBI_DEFAULT_I386_CONFIGRATION_ID = "org.tizen.nativeide.config.sbi.gcc45.platform.emulator";
+       public static  final String SBI_DEFAULT_ARM_CONFIGRATION_ID = "org.tizen.nativeide.config.sbi.gcc45.platform.device";   
        public static  final String SBI_DEFAULT_TARGET_NAME = "tizen-device-1.0.sb2_gcc45sbox2.armel.cdeb";
        public static  final String SBI_ARM_TOOLCHAIN_NAME = "gcc45sbox2.armel.cdeb";
        public static  final String SBI_ARM_SBOX2_TOOLCHAIN_NAME = "gcc45sbox2.armel.cdeb";
@@ -89,7 +87,6 @@ public class PlatformConfigurationManager extends CommonConfigurationManager
                // TODO: should be removed
                if ( isOldConfiguration(config) ) {
                        c_compiler_id = SBI_BASE_C_COMPILER_TOOL_ID_OLD;
-                       //return CustomDebianConfigurationOld.getAllCFlags(config);
                }
 
                return getAllCompilerFlags( config, c_compiler_id );    
@@ -103,7 +100,6 @@ public class PlatformConfigurationManager extends CommonConfigurationManager
                // TODO: should be removed
                if ( isOldConfiguration(config) ) {
                        cpp_compiler_id = SBI_BASE_CPP_COMPILER_TOOL_ID_OLD;
-                       //return CustomDebianConfigurationOld.getAllCPPFlags(config);
                }
 
                return getAllCompilerFlags( config, cpp_compiler_id );  
@@ -159,13 +155,6 @@ public class PlatformConfigurationManager extends CommonConfigurationManager
        
        
        public static void changeToolchain( IConfiguration config, ICResourceDescription cfgd, String toolchainNameInCfg) {
-               /*
-               // TODO: should be removed
-               if ( isOldConfiguration(config) ) {
-                       CustomDebianConfigurationOld.changeToolchain(config, cfgd, toolchainNameInCfg );
-                       return;
-               }
-               */
 
                IToolChainModificationManager tcmmgr = ManagedBuildManager.getToolChainModificationManager();
                IToolChain[] r_tcs = ManagedBuildManager.getRealToolChains();
index 16966cc..7ca5bbb 100644 (file)
@@ -267,7 +267,7 @@ public class PackageManager extends Dialog {
 
                if (!enableRootstrapTab && !enableTargetTab) {
                        createError( composite, "- Any project is not selected and any connection is not connected,\n" +
-                                       "- or project is not \"CUSTOM DEBIAN PROJECT\"." );
+                                       "- or project is not \"PLATFORM PROJECT\"." );
                } else {                
                        //2nd basement : Sourcelist + update button
                        createTopComposite( composite );
@@ -1302,7 +1302,7 @@ public class PackageManager extends Dialog {
                rootstrapTab.setText(ROOTSTRAP_TAB_NAME);               
 
                if (!enableRootstrapTab) {
-                       rootstrapTab.setControl( errorTab( tabFolder , "- Any project is not selected or project is not \"CUSTOM DEBIAN PROJECT\"."));
+                       rootstrapTab.setControl( errorTab( tabFolder , "- Any project is not selected or project is not \"PLATFORM PROJECT\"."));
                        tabIndex = 1;
                } else {
                        rootstrapTab.setControl( getRootstrapTabControl( tabFolder ));
index 56803a7..e29c456 100644 (file)
@@ -55,8 +55,8 @@ public class TizenDebianMainWizardPage extends CDTMainWizardPage {
                                if ( e.getName() != null && e.getName().equals("Empty Project") )
                                        continue;
 
-                               if(     e.getId().equals("org.tizen.nativeide.buildArtefactType.cdeb") || 
-                                               (e.getParentId() != null && e.getParentId().equals("org.tizen.nativeide.buildArtefactType.cdeb")) ) {
+                               if(     e.getId().equals("org.tizen.nativeide.buildArtefactType.platform") || 
+                                               (e.getParentId() != null && e.getParentId().equals("org.tizen.nativeide.buildArtefactType.platform")) ) {
                                        result.add(item);
                                }
                                
index 4e6c6e2..5cee2f9 100644 (file)
@@ -45,8 +45,8 @@ import org.tizen.nativeplatform.build.PlatformConfigurationManager;
 public class TizenDebianProjectWizard extends CDTCommonProjectWizard{
 
        public TizenDebianProjectWizard() {
-               super("Tizen Custom Debian Project",  //$NON-NLS-1$
-                 "Create a Tizen Custom Debian Project project of selected type"); //$NON-NLS-1$
+               super("Tizen Platform Project",  //$NON-NLS-1$
+                 "Create a Tizen Platform Project project of selected type"); //$NON-NLS-1$
 //             WizardConstants.isDebian = true;
        }
 
@@ -73,8 +73,8 @@ public class TizenDebianProjectWizard extends CDTCommonProjectWizard{
        @Override
        public void addPages() {
                fMainPage= new TizenDebianMainWizardPage(CUIPlugin.getResourceString("CProjectWizard"));
-               fMainPage.setTitle("Tizen Custom Debian Project");
-               fMainPage.setDescription("Create a Tizen Custom Debian Project project of selected type");
+               fMainPage.setTitle("Tizen Platform Project");
+               fMainPage.setDescription("Create a Tizen Platform Project project of selected type");
                addPage(fMainPage);
        }