[Title] Fixed 'web-packaging' error message
authorgyeongseok.seo <gyeongseok.seo@samsung.com>
Wed, 26 Dec 2012 11:40:05 +0000 (20:40 +0900)
committergyeongseok.seo <gyeongseok.seo@samsung.com>
Wed, 26 Dec 2012 11:40:05 +0000 (20:40 +0900)
[Desc.] {0} is formatting
[Issue] 7825

Change-Id: I313708a84baedac67967020c6393ad811df4ac12

org.tizen.cli/src/org/tizen/cli/exec/wgt/Main.java

index 8275641..ec1071b 100755 (executable)
@@ -43,7 +43,6 @@ import static org.tizen.cli.exec.LaunchOptionConstants.OPT_OVERWRITE;
 import static org.tizen.cli.exec.LaunchOptionConstants.DESC_OVERWRITE;
 
 import org.tizen.cli.exec.AbstractLauncher;
-import org.tizen.cli.exec.LaunchOptionConstants;
 import org.tizen.common.core.command.Executor;
 import org.tizen.common.core.command.Prompter;
 import org.tizen.common.core.command.prompter.ChoiceOption;
@@ -163,13 +162,13 @@ extends AbstractLauncher
                        else if ( !isValidRoot( baseDir ) )
                        {
                                logger.trace( "Base directory is not valid root" );
-                               final ChoiceOption yes = new ChoiceOption( "Yes" );
-                               final ChoiceOption no = new ChoiceOption( "No", true );
+                               final ChoiceOption yes = new ChoiceOption( "Yes", true );
+                               final ChoiceOption no = new ChoiceOption( "No" );
                                
                                final Prompter prompter = getPrompter();
-                               
+
                                final Option option = prompter.interact(
-                                       MessageFormat.format( "''.projet'' file doesn't exist in ''{0}''\nDo you want to be continue?", baseDir ),
+                                       MessageFormat.format( "''.projet'' file doesn''t exist in ''{0}''\nDo you want to continue? [YES, no]", baseDir ),
                                        yes,
                                        no
                                );