[Title] fix arch bug in native-pack and add detailed description in help page
authorho.namkoong <ho.namkoong@samsung.com>
Fri, 31 May 2013 11:52:39 +0000 (20:52 +0900)
committerho.namkoong <ho.namkoong@samsung.com>
Fri, 31 May 2013 11:52:39 +0000 (20:52 +0900)
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#] 9508
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Ia07ed4f2b0aee0d318f1bb1222cc1330c6666f8e

org.tizen.cli/src/org/tizen/cli/exec/pack/NativeMain.java
org.tizen.cli/src/org/tizen/cli/exec/pack/messages.properties

index 8a3820c..5b6f09a 100644 (file)
@@ -127,6 +127,9 @@ public class NativeMain extends AbstractLauncher{
             cmdList.add(CMD_CLI_NATIVE_PACK_LINUX);
         }
         
+        appendOption(cmdList, OPTION_PLATFORM_NAME);
+        appendOption(cmdList, OPTION_PLATFORM_VERSION);
+        appendOption(cmdList, OPTION_ARCHITECTURE);
         appendOption(cmdList, OPTION_TOOLCHAIN);
         appendOption(cmdList, OPTION_SIGN_AK);
         appendOption(cmdList, OPTION_SIGN_APWD);
index 113eb51..16be1fb 100644 (file)
@@ -2,13 +2,13 @@ CLIMultiPackager.EXCEPTION_BIN_MISSING=Binary of {0} does not exist.
 NativeMain.CANCELD=Packaging is canceled
 NativeMain.DESC_APK=Specify a author p12 file path
 NativeMain.DESC_APW=Specify a author certificate password
-NativeMain.DESC_ARCH=Specify a architecture
+NativeMain.DESC_ARCH=Specify an architecture ("armel" | "i386")\nIf this option is not defined, it uses a value of ARCHITECTURE in build_data file by default
 NativeMain.DESC_DCA=Specify a distributor2 CA path
 NativeMain.DESC_DPK=Specify a distributor2 p12 file path
 NativeMain.DESC_DPW=Specify a distributor2 password
 NativeMain.DESC_DROOT=Specify a distributor2 root certificate path
-NativeMain.DESC_PLATFORM_NAME=Specify a platform name
-NativeMain.DESC_PLATFORM_VERSION=Specify a platform version
+NativeMain.DESC_PLATFORM_NAME=Specify a platform name ("Tizen Device 2.1" | "Tizen Emulator 2.1")\nIf this option is not defined, the default value of platform name is set by using platform version and architecture
+NativeMain.DESC_PLATFORM_VERSION=Specify a platform version ("Tizen 2.1")\nIf this option is not defined, it uses a value of PLATFORM_VER in build_data file by default
 NativeMain.DESC_RP=Specify paths of referenced projects. Paths can be separated by ','.
-NativeMain.DESC_TOOLCHAIN=Specify a toolchain
+NativeMain.DESC_TOOLCHAIN=Specify a toolchain ("GCC-4.5" | "LLVM-3.1")\nIf this option is not defined, it uses a value of TOOLCHAIN in build_data file by default
 NativeMain.EXCEPTION_MANDATORY_MISSING=--{0} and --{1} are mandatory options.