sdk/tools/cli.git
10 years agoCLI: Add time printer. 39/13739/3
hyunsik.noh [Fri, 13 Dec 2013 07:54:10 +0000 (16:54 +0900)]
CLI: Add time printer.

Add time printer.
Hide pkgcmd return string for RunCLICommand.java

Change-Id: I63da23926705aad92744be1ecc2eba2382d1919d
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: changed sub command name to "package" from "Package" 16/13716/1
shingil.kang [Fri, 13 Dec 2013 01:15:17 +0000 (10:15 +0900)]
CLI: changed sub command name to "package" from "Package"

Change-Id: I2dc7e237288e560d4767533dbdd9707a9a5c4a3f
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoCLI: added the 'package web project cli module' 06/13706/1
shingil.kang [Thu, 12 Dec 2013 14:53:48 +0000 (23:53 +0900)]
CLI: added the 'package web project cli module'
initial commit

Change-Id: I444eadb7c446e3d944af40e04e51441ecbb45b7a
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoCLI : Modify bash auto-complete 98/13698/1
hyeongseok.heo [Thu, 12 Dec 2013 12:38:23 +0000 (21:38 +0900)]
CLI : Modify bash auto-complete

Add feature which make auto-completion as inputting directory path.

Change-Id: I826762a462f937d1312776c6c6ad1a881d73f44d
Signed-off-by: hyeongseok.heo <hyeongseok.heo@samsung.com>
10 years agoMerge "CLI: Fixed typo in messages CR_CANNOT_FIND_OUTDIR -> CR_CANNOT_CREATE_OUTDIR...
Harry Hyeongseok Heo [Thu, 12 Dec 2013 11:07:17 +0000 (03:07 -0800)]
Merge "CLI: Fixed typo in messages CR_CANNOT_FIND_OUTDIR -> CR_CANNOT_CREATE_OUTDIR" into ncli

10 years agoCLI: Fixed typo in messages 94/13694/1
shingil.kang [Thu, 12 Dec 2013 11:02:30 +0000 (20:02 +0900)]
CLI: Fixed typo in messages
CR_CANNOT_FIND_OUTDIR -> CR_CANNOT_CREATE_OUTDIR

Change-Id: If76957b3589c29d82a1402f906d39c4d135982aa
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoMerge "CLI: add progress monitor to show the progress status of creating web/native...
Harry Hyeongseok Heo [Thu, 12 Dec 2013 10:44:09 +0000 (02:44 -0800)]
Merge "CLI: add progress monitor to show the progress status of creating web/native project." into ncli

10 years agoCLI: add progress monitor to show the progress status of creating web/native project. 86/13686/3
shingil.kang [Thu, 12 Dec 2013 07:16:15 +0000 (16:16 +0900)]
CLI: add progress monitor to show the progress status of creating web/native project.

Change-Id: I522e90a05a3f0ff0fcab65f7f131d3dbbb86dcfd
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoMerge "CLI : Fix build-web bug" into ncli
hyeongseok.heo [Thu, 12 Dec 2013 09:26:08 +0000 (01:26 -0800)]
Merge "CLI : Fix build-web bug" into ncli

10 years agoMerge "CLI: Fix to find Tizen project packages." into ncli
Harry Hyeongseok Heo [Thu, 12 Dec 2013 09:22:57 +0000 (01:22 -0800)]
Merge "CLI: Fix to find Tizen project packages." into ncli

10 years agoMerge "CLI: remove '-t' option in package command." into ncli
Harry Hyeongseok Heo [Thu, 12 Dec 2013 09:18:54 +0000 (01:18 -0800)]
Merge "CLI: remove '-t' option in package command." into ncli

10 years agoCLI : Fix build-web bug 91/13691/1
hyeongseok.heo [Thu, 12 Dec 2013 09:14:53 +0000 (18:14 +0900)]
CLI : Fix build-web bug

 Fix bug with using option '--' (working directory) in build-web CLI
module

 Add start and finish log message in AbstractCLI

 Add method for getting real working path

Change-Id: If67c283303382ffb166262fbd2301eb1a112a1e3
Signed-off-by: hyeongseok.heo <hyeongseok.heo@samsung.com>
10 years agoCLI: Fix to find Tizen project packages. 74/13674/4
hyunsik.noh [Thu, 12 Dec 2013 04:54:27 +0000 (13:54 +0900)]
CLI: Fix to find Tizen project packages.

Fix to find Tizen project packages.
Fix to check success for InstallCLI.

Change-Id: Icd697ed6320cf82480559dc28bfdf34f76731f3a
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: remove '-t' option in package command. 79/13679/1
shingil.kang [Thu, 12 Dec 2013 05:32:26 +0000 (14:32 +0900)]
CLI: remove '-t' option in package command.

Change-Id: Ia13250e0ac7d3c1ecce96ee77b4a705ec53ecb81
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoCLI: Move data directory for build-native 69/13669/2
hyunsik.noh [Thu, 12 Dec 2013 02:09:15 +0000 (11:09 +0900)]
CLI: Move data directory for build-native

Change-Id: I6e7f4f910cc1d04354a543343e5c3dfd6c6a1df9
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: Fix usage for ListAppCLI 49/13649/2
hyunsik.noh [Wed, 11 Dec 2013 09:44:57 +0000 (18:44 +0900)]
CLI: Fix usage for ListAppCLI

Change-Id: Ie6b0cfeb62402c1c4f8ca172e0a7cc20a0bdf85e
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: Change run option from appId to pkgId 48/13648/2
hyunsik.noh [Wed, 11 Dec 2013 09:42:06 +0000 (18:42 +0900)]
CLI: Change run option from appId to pkgId

Change-Id: I96c8888222a77bb6457e2cad82e04615f160ca39
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoMerge "CLI: Add list option and fix run option for auto completion" into ncli
Harry Hyeongseok Heo [Thu, 12 Dec 2013 04:23:33 +0000 (20:23 -0800)]
Merge "CLI: Add list option and fix run option for auto completion" into ncli

10 years agoCLI: Add list option and fix run option for auto completion 44/13644/2
hyunsik.noh [Wed, 11 Dec 2013 09:09:18 +0000 (18:09 +0900)]
CLI: Add list option and fix run option for auto completion

Change-Id: Icb905430effd3fa1cf2bec53d4963d5d4eaa9f95
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: set web template name to have only lower case letter. 43/13643/1
shingil.kang [Wed, 11 Dec 2013 08:48:11 +0000 (17:48 +0900)]
CLI: set web template name to have only lower case letter.
web template name had lower case, but native template had not.
So, web and native template need to have consistent template name.

Change-Id: I49957767480303c3414251bfaadf5dfba3769531
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoMerge "CLI: Modify cli-config " into ncli
hyeongseok.heo [Wed, 11 Dec 2013 07:19:06 +0000 (23:19 -0800)]
Merge "CLI: Modify cli-config " into ncli

10 years agoMerge "CLI: add progresslog, log, message use progresslog to show path of the created...
Harry Hyeongseok Heo [Wed, 11 Dec 2013 07:18:15 +0000 (23:18 -0800)]
Merge "CLI: add progresslog, log, message use progresslog to show path of the created project. use log, message to process exception." into ncli

10 years agoCLI: Modify cli-config 98/13598/2
hyeongseok.heo [Tue, 10 Dec 2013 10:33:08 +0000 (19:33 +0900)]
CLI: Modify cli-config

Modify key list to print  by alphabetical order.
Refine output message .
Modify printing elapsed time as optional.
Add log4j config file for testing local env.

Change-Id: I3e7cec8052513517c1d0fbc2e5a0fa9797869abe
Signed-off-by: hyeongseok.heo <hyeongseok.heo@samsung.com>
10 years agoMerge "CLI: Add method to remove data directory and check build success" into ncli
Harry Hyeongseok Heo [Tue, 10 Dec 2013 09:45:36 +0000 (01:45 -0800)]
Merge "CLI: Add method to remove data directory and check build success" into ncli

10 years agoCLI: Add method to remove data directory and check build success 92/13592/1
hyunsik.noh [Tue, 10 Dec 2013 08:45:40 +0000 (17:45 +0900)]
CLI: Add method to remove data directory and check build success

Change-Id: Iaf74460b6d1fb5b8c32267468618cde768df504d
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: add progresslog, log, message 60/13560/2
shingil.kang [Mon, 9 Dec 2013 12:37:57 +0000 (21:37 +0900)]
CLI: add progresslog, log, message
use progresslog to show path of the created project.
use log, message to process exception.

Change-Id: Ie9e07b22843b436ad7389e6ae5655e2f558e712e
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoCLI: Add default cli config file 59/13559/2
hyeongseok.heo [Mon, 9 Dec 2013 12:19:43 +0000 (21:19 +0900)]
CLI: Add default cli config file

Modify build script so that default cli config file which is named
.tizen-cli-config is installed at tizen-sdk/tools directory.

Change-Id: I49e0674eaa1eb92970ef4b0df8414a43b1b19778
Signed-off-by: hyeongseok.heo <hyeongseok.heo@samsung.com>
10 years agoMerge "CLI : Fixed a bug where getting the list of native template did not work....
Harry Hyeongseok Heo [Fri, 6 Dec 2013 07:18:58 +0000 (23:18 -0800)]
Merge "CLI : Fixed a bug where getting the list of native template did not work. get the array with information of native templates" into ncli

10 years agoCLI: Fix TizenCLIMessages.properties. 50/13450/2
hyunsik.noh [Fri, 6 Dec 2013 05:33:44 +0000 (14:33 +0900)]
CLI: Fix TizenCLIMessages.properties.

Fix wrong message value.

Change-Id: Icece568b1697028b25c133e5e7cfe46310593ffc
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: Fix finalizeSdb bug. 45/13445/3
hyunsik.noh [Fri, 6 Dec 2013 04:55:56 +0000 (13:55 +0900)]
CLI: Fix finalizeSdb bug.

Make it only call SmartDevelopmentBridge.disconnectBridge if there is no SmartDevelopmentBridge instance.

Change-Id: Ic08030890db6df025c9447f0d24f43cd3ca959c4
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: Add Run CLI. 20/13420/2
hyunsik.noh [Thu, 5 Dec 2013 09:05:53 +0000 (18:05 +0900)]
CLI: Add Run CLI.

Change-Id: I593ff7fdb5b517b76320069ef90063c5a2baa981
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI : Fixed a bug where getting the list of native template did not work. 53/13453/3
shingil.kang [Fri, 6 Dec 2013 05:57:43 +0000 (14:57 +0900)]
CLI : Fixed a bug where getting the list of native template did not work.
get the array with information of native templates

Change-Id: I15d2bd90c9ef0b57e138a58cf4541c251d53f57f
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoMerge "CLI : supports auto suggestion when inputting same option with diffrent main...
Harry Hyeongseok Heo [Fri, 6 Dec 2013 06:57:49 +0000 (22:57 -0800)]
Merge "CLI : supports auto suggestion when inputting same option with diffrent main/sub command." into ncli

10 years agoCLI : supports auto suggestion when inputting same option with diffrent main/sub... 52/13452/2
shingil.kang [Fri, 6 Dec 2013 05:50:10 +0000 (14:50 +0900)]
CLI : supports auto suggestion when inputting same option with diffrent main/sub command.

Change-Id: Id37e8d6d5863b7719be3f90df479852e29a6202b
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoCLI: Add default config file for Tizen CLI config 08/13408/2
hyunsik.noh [Thu, 5 Dec 2013 06:52:59 +0000 (15:52 +0900)]
CLI: Add default config file for Tizen CLI config

Change-Id: Ifb66ade94be050190ce3cada6e7bd6c122ca8c58
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: Added to create native project 10/13410/4
shingil.kang [Thu, 5 Dec 2013 07:32:48 +0000 (16:32 +0900)]
CLI: Added to create native project
Initial commit

Change-Id: I28074b62075a611419104c31c071ecd59b909ddc
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoMerge "CLI: Change ListDevice to ListTarget Signed-off-by: hyunsik.noh <hyunsik.noh...
Harry Hyeongseok Heo [Fri, 6 Dec 2013 02:10:36 +0000 (18:10 -0800)]
Merge "CLI: Change ListDevice to ListTarget Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>" into ncli

10 years agoMerge "CLI:MISC: Modify gitignore" into ncli
hyeongseok.heo [Fri, 6 Dec 2013 01:27:15 +0000 (17:27 -0800)]
Merge "CLI:MISC: Modify gitignore" into ncli

10 years agoCLI: Change ListDevice to ListTarget 99/13399/3
hyunsik.noh [Thu, 5 Dec 2013 03:06:55 +0000 (12:06 +0900)]
CLI: Change ListDevice to ListTarget
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
Change-Id: I2343c0e8b0840e349c8364d76b6ee974f878a36b
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: Add Uninstall CLI 86/13386/2
hyunsik.noh [Wed, 4 Dec 2013 11:46:09 +0000 (20:46 +0900)]
CLI: Add Uninstall CLI

Add UninstallCLI which remove installed package on target.
Add progresslog.
Add returnExecuteCommand in TargetUtil.

Change-Id: Iaaa743fd00a7a32f6e97cf4ba44755636a3ff9e5
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI:MISC: Modify gitignore 85/13385/1
hyeongseok.heo [Wed, 4 Dec 2013 11:30:01 +0000 (20:30 +0900)]
CLI:MISC: Modify gitignore

Add git ignore list like build result directories and files.
e.g. dist, lib-ncli , MANIFEST.MF ,

Change-Id: Ie2b72445519e0e68726f067ad2614ce904e9a7bd
Signed-off-by: hyeongseok.heo <hyeongseok.heo@samsung.com>
10 years agoCLI: Add ListAppCLI 80/13380/2
hyunsik.noh [Wed, 4 Dec 2013 09:45:56 +0000 (18:45 +0900)]
CLI: Add ListAppCLI

Add ListAppCLI which shows installed app list on target.
Add native and web package extension variable in CLIConstant.

Change-Id: I6f5ab7258a32e317ad3a52cf8c4101fb8e490b32
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoMerge "CLI: Add TargetUtil class." into ncli
Harry Hyeongseok Heo [Wed, 4 Dec 2013 09:42:50 +0000 (01:42 -0800)]
Merge "CLI: Add TargetUtil class." into ncli

10 years agoCLI: Add TargetUtil class. 67/13367/3
hyunsik.noh [Wed, 4 Dec 2013 07:48:13 +0000 (16:48 +0900)]
CLI: Add TargetUtil class.

Change-Id: Ie30e5c758f85184eeec13150013f6e7c0ddbbb4f
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoMerge "CLI: Add configconstant member for sdb response timeout." into ncli
Harry Hyeongseok Heo [Wed, 4 Dec 2013 08:01:05 +0000 (00:01 -0800)]
Merge "CLI: Add configconstant member for sdb response timeout." into ncli

10 years agoMerge "CLI : Apply pregress monitor , log for progress" into ncli
Heongseok Heo [Wed, 4 Dec 2013 02:54:51 +0000 (18:54 -0800)]
Merge "CLI : Apply pregress monitor , log for progress" into ncli

10 years agoCLI : Apply pregress monitor , log for progress 41/13241/4
Heongseok Heo [Sat, 30 Nov 2013 07:15:20 +0000 (16:15 +0900)]
CLI : Apply pregress monitor , log for progress

Apply progress monitor and log4j for progress log

Modify build script and install script

Change-Id: I5b4ba7f988d656e0217f971e212d61d0ca6aef9b
Signed-off-by: Heongseok Heo <hyeongseok.heo@samsung.com>
10 years agoCLI: Add configconstant member for sdb response timeout. 47/13347/1
hyunsik.noh [Wed, 4 Dec 2013 02:30:17 +0000 (11:30 +0900)]
CLI: Add configconstant member for sdb response timeout.

Change-Id: Icf0aa8d2b861e1947a4955c8125195478cc69455
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoMerge "CLI: Add CLI Install" into ncli
Harry Hyeongseok Heo [Tue, 3 Dec 2013 06:37:25 +0000 (22:37 -0800)]
Merge "CLI: Add CLI Install" into ncli

10 years agoCLI: Add CLI Install 69/13269/3
hyunsik.noh [Mon, 2 Dec 2013 09:12:21 +0000 (18:12 +0900)]
CLI: Add CLI Install

Add NCLI Install.
Modify messages.
Add CLIWithSdbLib to use sdblib.

Change-Id: I8047ce3d539f17f06c0d3d61b01750ec270eb311
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoMerge "CLI: Added sub command annotation, changed the output directory of web project...
Harry Hyeongseok Heo [Mon, 2 Dec 2013 11:02:24 +0000 (03:02 -0800)]
Merge "CLI: Added sub command annotation, changed the output directory of web project, not added web ui builder template. Added create command annotation. created web project under directory with project name. not supported web ui builder template." into ncli

10 years agoCLI : Create progress monitor 25/13225/2
Heongseok Heo [Sat, 30 Nov 2013 01:26:48 +0000 (10:26 +0900)]
CLI : Create progress monitor

Create classes for the progress monitoring feature.

Change-Id: Iea384ee86b15dbb200abc3e3c807b8fdc56ccb04
Signed-off-by: Heongseok Heo <hyeongseok.heo@samsung.com>
10 years agoMerge "NCLI: modified messages" into ncli
Harry Hyeongseok Heo [Fri, 29 Nov 2013 08:47:35 +0000 (00:47 -0800)]
Merge "NCLI: modified messages" into ncli

10 years agoMerge "CLI : Modify build script , build.xml " into ncli
hyeongseok.heo [Fri, 29 Nov 2013 05:18:44 +0000 (21:18 -0800)]
Merge "CLI : Modify build script , build.xml " into ncli

10 years agoCLI: Added sub command annotation, changed the output directory of web project, not... 67/13167/1
shingil.kang [Thu, 28 Nov 2013 15:54:28 +0000 (00:54 +0900)]
CLI: Added sub command annotation, changed the output directory of web project, not added web ui builder template.
Added create command annotation.
created web project under directory with project name.
not supported web ui builder template.

Change-Id: I1ee2c88de2f352d363d1b5523acdf9000bcf7ae6
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoNCLI: modified messages 59/13059/1
hyunsik.noh [Wed, 27 Nov 2013 09:51:46 +0000 (18:51 +0900)]
NCLI: modified messages

Change to check all options and show messages.

Change-Id: Ib5afffdbdad65293d68d13c2b47d6a33cc70a7b6
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI : Modify build script , build.xml 43/13043/2
hyeongseok.heo [Wed, 27 Nov 2013 06:48:40 +0000 (15:48 +0900)]
CLI : Modify build script , build.xml

Seperate lib folder between legacy cli and new cli for more clarifying
dependency.

Change-Id: I0b95d3fd4732eac8719aa3d51a5b291e119f0025
Signed-off-by: hyeongseok.heo <hyeongseok.heo@samsung.com>
10 years agoMerge "CLI: Add basic ListCLI." into ncli
Harry Hyeongseok Heo [Tue, 26 Nov 2013 08:12:28 +0000 (00:12 -0800)]
Merge "CLI: Add basic ListCLI." into ncli

10 years agoMerge "CLI: add @TizenSubCommand" into ncli
Harry Hyeongseok Heo [Tue, 26 Nov 2013 08:11:44 +0000 (00:11 -0800)]
Merge "CLI: add @TizenSubCommand" into ncli

10 years agoCLI: Move initializeConfig into constructor 27/12927/1
hyunsik.noh [Tue, 26 Nov 2013 06:08:33 +0000 (15:08 +0900)]
CLI: Move initializeConfig into constructor

Move initialzeConfig method into AbstractSubCommand constructor.

Change-Id: Ic53c00e98cfafa5a4de8d8d27dcdaa9e182eeb57
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoMerge "CLI : Fix argument counting logic in Main" into ncli
Heongseok Heo [Mon, 25 Nov 2013 11:38:33 +0000 (03:38 -0800)]
Merge "CLI : Fix argument counting logic in Main" into ncli

10 years agoCLI : Fix argument counting logic in Main 93/12893/1
Heongseok Heo [Mon, 25 Nov 2013 11:38:05 +0000 (20:38 +0900)]
CLI : Fix argument counting logic in Main

Fix counting argument length . Because there is default argument
'--current-workspace-path' , argument length should be 3 at least.

Change-Id: I8da62a7701150c961e1958bc6a15a38f76cfc86e

Change-Id: I8da62a7701150c961e1958bc6a15a38f76cfc86e
Signed-off-by: Heongseok Heo <hyeongseok.heo@samsung.com>
10 years agoCLI: add @TizenSubCommand 86/12886/1
hyunsik.noh [Mon, 25 Nov 2013 10:10:12 +0000 (19:10 +0900)]
CLI: add @TizenSubCommand

Add @TizenSubCommand for SingCLI and BuildNativeCLI

Change-Id: If4e790adeedff039acb078f46b9f9558ecd4191a
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: Add basic ListCLI. 84/12884/2
hyunsik.noh [Mon, 25 Nov 2013 09:58:14 +0000 (18:58 +0900)]
CLI: Add basic ListCLI.

Add ListCLI(only for device list)

Change-Id: I2c80aa1ec87807beec928df205e91b9801f207b1
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoMerge "CLI: Add signing cli." into ncli
Harry Hyeongseok Heo [Mon, 25 Nov 2013 06:28:46 +0000 (22:28 -0800)]
Merge "CLI: Add signing cli." into ncli

10 years agoCLI: Add signing cli. 70/12770/3
hyunsik.noh [Fri, 22 Nov 2013 08:18:57 +0000 (17:18 +0900)]
CLI: Add signing cli.

Change message file name(for common).
Add singing cli with related files which are from previous cli files.

Change-Id: I4dd599a58a662148e349ca29e1655805b078ca5b
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: Add printing usage by command dynamically. 57/12857/1
Heongseok Heo [Mon, 25 Nov 2013 05:24:36 +0000 (14:24 +0900)]
CLI: Add printing usage by command dynamically.

Add Tree classes.
Refine error handling and printing message in Main class.
Refine making sub command info. at the CommandLineParser.

Change-Id: I351458e2ce89793b4f45f7cb9513a7c24c74e2ec

Change-Id: I889ade8f7734e0de579b607fd2698e740ec84013
Signed-off-by: Heongseok Heo <hyeongseok.heo@samsung.com>
10 years agoCLI: Change currentWorkspacePath variable and set alias. 36/12736/1
hyunsik.noh [Fri, 22 Nov 2013 02:24:03 +0000 (11:24 +0900)]
CLI: Change currentWorkspacePath variable and set alias.

Change currentWorkspacePath type from String to File
Set alias "DA" for "Dynamic Analyzer"

Change-Id: I4b93d94cb67e42ab747a55e27836e5c5acca825f
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoMerge "CLI: Working on printing output message dynamically." into ncli
Heongseok Heo [Thu, 21 Nov 2013 02:56:43 +0000 (18:56 -0800)]
Merge "CLI: Working on printing output message dynamically." into ncli

10 years agoMerge "CLI: divided some options and add the module which generates .tproject file...
Harry Hyeongseok Heo [Thu, 21 Nov 2013 02:53:14 +0000 (18:53 -0800)]
Merge "CLI: divided some options and add the module which generates .tproject file. 'project' option is divided into 'web-project' and 'native-project' options. 'web-project' and 'native-project' options have each sub-options, '-t(--template)' and '-n(--name)' generate a file which describe tizen project(.tproject)." into ncli

10 years agoCLI: Working on printing output message dynamically. 28/12628/1
Heongseok Heo [Wed, 20 Nov 2013 09:28:26 +0000 (18:28 +0900)]
CLI: Working on printing output message dynamically.

Replace CmdLineParser and SubCommandHandler of arg4j as custom class.

Add HelpCLI dummy class.
Add some classes for supporting print usage info.

Change-Id: I80486e18a89d5869f5b511ac5dd36e63a4c56389
Signed-off-by: Heongseok Heo <hyeongseok.heo@samsung.com>
10 years agoCLI: divided some options and add the module which generates .tproject file. 39/12539/3
shingil.kang [Mon, 18 Nov 2013 13:53:00 +0000 (22:53 +0900)]
CLI: divided some options and add the module which generates .tproject file.
'project' option is divided into 'web-project' and 'native-project' options.
'web-project' and 'native-project' options have each sub-options, '-t(--template)' and '-n(--name)'
generate a file which describe tizen project(.tproject).

Change-Id: I09825d02f878d0a3d76c581817e8f7f26a6a3f70
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoCLI: Change required options. 04/12504/3
hyunsik.noh [Sun, 17 Nov 2013 08:13:16 +0000 (17:13 +0900)]
CLI: Change required options.

Some required options are changed as user-friendly.
The messages properties files are added.

Change-Id: Iccc91e2730e4e0c0a9b1222478bc6d625e231380
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI: Fix autocompletion error and change build-native options. 34/12534/1
hyunsik.noh [Mon, 18 Nov 2013 10:55:12 +0000 (19:55 +0900)]
CLI: Fix autocompletion error and change build-native options.

Fix to get args count in tizen.sh and change options for native build.

Change-Id: Id9cfcad31eec708264acf87f20afec19089e1079
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI : Add check if there is argument 94/12394/1
hyeongseok.heo [Thu, 14 Nov 2013 11:19:34 +0000 (20:19 +0900)]
CLI : Add check if there is argument

In case of no argument(sub-command) is submitted , do not set
--current-workspace-path option which is raise error at parsing
argument.

Change-Id: I70dbcdb82820b69fae3a2568c3f4a0c5a7960101
Signed-off-by: hyeongseok.heo <hyeongseok.heo@samsung.com>
10 years agoMerge "CLI : added output option to auto completion module and fixed getting current...
Harry Hyeongseok Heo [Thu, 14 Nov 2013 01:15:50 +0000 (17:15 -0800)]
Merge "CLI : added output option to auto completion module and fixed getting current working directory" into ncli

10 years agoMerge "CLI:Modify Main class error process logic." into ncli
Heongseok Heo [Thu, 14 Nov 2013 01:14:30 +0000 (17:14 -0800)]
Merge "CLI:Modify Main class error process logic." into ncli

10 years agoMerge "CLI: Add method which writes build target information in .cproject" into ncli
Harry Hyeongseok Heo [Thu, 14 Nov 2013 01:14:02 +0000 (17:14 -0800)]
Merge "CLI: Add method which writes build target information in .cproject" into ncli

10 years agoCLI:Modify Main class error process logic. 43/12343/1
Heongseok Heo [Wed, 13 Nov 2013 11:31:10 +0000 (20:31 +0900)]
CLI:Modify Main class error process logic.

Modify error processing in Main.
Temporary implement to show sub command list.

Change-Id: Id5f46de0820b08d677948568bede0c8f194558ad
Signed-off-by: Heongseok Heo <hyeongseok.heo@samsung.com>
10 years agoCLI : added output option to auto completion module and fixed getting current working... 45/12245/1
shingil.kang [Wed, 13 Nov 2013 03:37:26 +0000 (12:37 +0900)]
CLI : added output option to auto completion module and fixed getting current working directory

added '--output' and '-out' to auto completion list.
fixed getting current working path as folder including CLI library.

Change-Id: I39b4e18c4c37e2acd1813382a891ff8c8f217f3f
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoCLI : Fixed a bug where error occurs when loading built-in templates. 74/12074/1
shingil.kang [Tue, 12 Nov 2013 12:43:01 +0000 (21:43 +0900)]
CLI : Fixed a bug where error occurs when loading built-in templates.

fixed the error related with index when reloading built-in templates.

Change-Id: Id69960d9b253898b1885d4d5a797e415038e7a27
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agoCLI: Add method which writes build target information in .cproject 67/12067/1
hyunsik.noh [Tue, 12 Nov 2013 09:40:09 +0000 (18:40 +0900)]
CLI: Add method which writes build target information in .cproject

The added method changes build target information in .cproject. Because the headless build dose not
save the current build target information automatically.

Change-Id: Id3d00f849eafa4bd5f599b2fe1a8e57f6baa2485
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
10 years agoCLI : Fixed the build fail due to the removed dependent libraries. 65/12065/1
shingil.kang [Tue, 12 Nov 2013 09:18:50 +0000 (18:18 +0900)]
CLI : Fixed the build fail due to the removed dependent libraries.

Removed 'HashSign' and 'xmlsec' libraries which are no longer used.

Change-Id: I10b4ef0ed227d861ccf4254a1df875987c5c6542
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
11 years agoCLI : support for auto completion of template name and add utility for creating web... 39/12039/1
shingil.kang [Tue, 12 Nov 2013 01:47:16 +0000 (10:47 +0900)]
CLI : support for auto completion of template name and add utility for creating web project

support for built-in template libraries
add the option for output directory on which the project is created and the processing logic of project configuration.

Change-Id: I63c89ed76c95c2d88170b29bcde6950738d7b8b5
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
11 years agoCLI: Modify build.linux 02/11902/1
hyeongseok.heo [Thu, 7 Nov 2013 12:41:18 +0000 (21:41 +0900)]
CLI: Modify build.linux
add jar files to fix build error

Change-Id: I3b578a5a6f817c0d30f9ca4b3379f650defaf016
Signed-off-by: hyeongseok.heo <hyeongseok.heo@samsung.com>
11 years agoMerge "NCLI:BUILD-WEB: Fix some bug with argument." into ncli
Heongseok Heo [Thu, 7 Nov 2013 07:46:48 +0000 (23:46 -0800)]
Merge "NCLI:BUILD-WEB: Fix some bug with argument." into ncli

11 years agoMerge "CLI: Fix bug with no argument Add null check when there is no argument Modify...
Heongseok Heo [Thu, 7 Nov 2013 07:46:38 +0000 (23:46 -0800)]
Merge "CLI: Fix bug with no argument Add null check when there is no argument Modify test case for no option in config cli." into ncli

11 years agoNCLI:BUILD-WEB: Fix some bug with argument. 83/11883/1
Heongseok Heo [Thu, 7 Nov 2013 07:43:04 +0000 (16:43 +0900)]
NCLI:BUILD-WEB: Fix some bug with argument.

Fix bug in case of submitting illegal argument or null argument from the
user input.
Modify to use currentWorkspacePath if there is no workingDir argument.

Change-Id: Ib9cda26016ac18591197eb9ec04ccffb68229770
Signed-off-by: Heongseok Heo <hyeongseok.heo@samsung.com>
11 years agoMerge "CLI: add new modules related to the creation of web project use new logic...
Harry Hyeongseok Heo [Thu, 7 Nov 2013 05:14:35 +0000 (21:14 -0800)]
Merge "CLI: add new modules related to the creation of web project use new logic to create web project which is used in Tizen IDE" into ncli

11 years agoCLI: add new modules related to the creation of web project 59/11859/1
shingil.kang [Wed, 6 Nov 2013 08:43:15 +0000 (17:43 +0900)]
CLI: add new modules related to the creation of web project
use new logic to create web project which is used in Tizen IDE

Change-Id: Ibcffa9ebd13ec12ba3d0368d093b5a9349303c62
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
11 years agoCLI: support input suggetion for build-native options(--platform, --toolchain, -... 17/11817/1
hyunsik.noh [Tue, 5 Nov 2013 13:06:33 +0000 (22:06 +0900)]
CLI: support input suggetion for build-native options(--platform, --toolchain, --build-target)
Fix script to support input suggestion when user use --platform and --toolcahin, --build-target options.
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
Change-Id: I8ca04caee22009d3ed17d30845478f604ccc4495

11 years agoCLI: add class path for using nativecommon-eplugin 45/11745/2
hyunsik.noh [Mon, 4 Nov 2013 10:03:39 +0000 (19:03 +0900)]
CLI: add class path for using nativecommon-eplugin
The scripts for auto completion and tizen main class need libswpaner.so.
So class-pathes and library path included on java command in scripts.
And log config path also added to make slf4j be silent when you see cli result.

Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
Change-Id: I1c931384c1012c08a7db5dbeecce549dca0e0d76

11 years agoCLI: Fix bug with no argument 60/11660/1
Heongseok Heo [Fri, 1 Nov 2013 07:47:12 +0000 (16:47 +0900)]
CLI: Fix bug with no argument
Add null check when there is no argument
Modify test case for no option in config cli.

Change-Id: If80fdb43d75609660d098787a908c7d13d088fa8
Signed-off-by: Heongseok Heo <hyeongseok.heo@samsung.com>
11 years ago[Title]Fix compile error 88/11588/1
Heongseok Heo [Wed, 30 Oct 2013 12:06:53 +0000 (21:06 +0900)]
[Title]Fix compile error
[Desc.]Due to changing 'targetPath' to 'workingDir' compile error
occurred. So fix it.

Change-Id: I01c2617611dfcda22aa7666c35fcfaabf4dd4687
Signed-off-by: Heongseok Heo <hyeongseok.heo@samsung.com>
11 years ago[Title] Fix conflict 84/11584/1
hyeongseok.heo [Wed, 30 Oct 2013 10:38:22 +0000 (19:38 +0900)]
[Title] Fix conflict
[Desc.] Fix conflict of variable name.
And modify variable in BuildNativeCLICommand.

Change-Id: Id2a9eba960e122ff9adcd09ddd79b7b286ca5ec8
Signed-off-by: hyeongseok.heo <hyeongseok.heo@samsung.com>
11 years ago[Title]Add buildWeb Module and modify related classes 83/11583/1
Heongseok Heo [Wed, 30 Oct 2013 10:29:19 +0000 (19:29 +0900)]
[Title]Add buildWeb Module and modify related classes
[Desc.]
Create BuildWebAppModule class for seperating build web module with CLI.
Add Test cases for build web.
Signed-off-by: Heongseok Heo <hyeongseok.heo@samsung.com>
Change-Id: Ia222632c3e7af577b5ccfa816c8c1508f775f753

11 years agoTitle: Add build-native for new cli 60/11560/2
hyunsik.noh [Wed, 30 Oct 2013 05:31:25 +0000 (14:31 +0900)]
Title: Add build-native for new cli

Change-Id: If17c10e6ca7ce66da501323384b5e7c4c68bc3f9
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
11 years ago[Title] Add modules related to the creation of web project 25/11525/1
shingil.kang [Tue, 29 Oct 2013 08:48:20 +0000 (17:48 +0900)]
[Title] Add modules related to the creation of web project
[Desc.]
[Issue]

Change-Id: I41c816590a4f938a58d799442c6063448b74acf4
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
11 years ago[Title]Upgrade version of arg4j from 2.0.24 to 2.0.25 07/11507/1
Heongseok Heo [Tue, 29 Oct 2013 06:24:27 +0000 (15:24 +0900)]
[Title]Upgrade version of arg4j from 2.0.24 to 2.0.25
[Desc.]The latest version of arg4j is released and at that version ,
some Option annotation(like hidden,dependends) is needed for developing
NCLI , so upgrade arg4j version.

But make sure that OptionDef#isMultiValued would not work because some
code related that option uses JDK 7 library(java.nio.file.Path). We have
intentionally deleted some classes on the arg4j 2.0.15.jar
Signed-off-by: Heongseok Heo <hyeongseok.heo@samsung.com>
Change-Id: I90155391f9b764e126735abfeae5046261d5e6d7

11 years agoMerge "[Title]Rename CLIConfig.java to Configuration.java [Desc.]Since CLIConfig...
Kangho Kim [Tue, 29 Oct 2013 05:51:40 +0000 (22:51 -0700)]
Merge "[Title]Rename CLIConfig.java to Configuration.java [Desc.]Since CLIConfig.java can be  confused with other classes like ConfigCLI etc. So changed the class name to clarify the meaning of class. " into ncli