[Title] Add and modify directory structure
authorBonyong.lee <bonyong.lee@samsung.com>
Wed, 4 Jul 2012 07:25:56 +0000 (08:25 +0100)
committerBonyong.lee <bonyong.lee@samsung.com>
Wed, 4 Jul 2012 07:25:56 +0000 (08:25 +0100)
[Type]      Bugfix
[Module]    Sub
[Priority]  Minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

org.tizen.cli/doc/install/bin/sign [moved from org.tizen.cli/doc/shell/sign with 100% similarity]
org.tizen.cli/doc/install/bin/wgt [moved from org.tizen.cli/doc/shell/wgt with 100% similarity]
org.tizen.cli/doc/install/conf/log4j-debug.xml [new file with mode: 0644]
org.tizen.cli/doc/install/conf/log4j-error.xml [new file with mode: 0644]
org.tizen.cli/doc/install/conf/log4j-info.xml [new file with mode: 0644]
org.tizen.cli/doc/install/conf/log4j-trace.xml [new file with mode: 0644]
org.tizen.cli/doc/install/conf/log4j-warn.xml [new file with mode: 0644]
org.tizen.cli/doc/install/conf/log4j.xml [new file with mode: 0644]
org.tizen.cli/doc/install/sample/profiles.xml [new file with mode: 0644]
org.tizen.cli/src/org/tizen/cli/exec/ConsolePrompter.java

diff --git a/org.tizen.cli/doc/install/conf/log4j-debug.xml b/org.tizen.cli/doc/install/conf/log4j-debug.xml
new file mode 100644 (file)
index 0000000..625523d
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+       <appender name="console" class="org.apache.log4j.ConsoleAppender">
+               <param name="Target" value="System.out" />
+               <layout class="org.apache.log4j.PatternLayout">
+                       <param name="ConversionPattern" value="[%p] %F(%L) - %m%n" />
+               </layout>
+       </appender>
+       
+       <root>
+               <priority value="debug" />
+               <appender-ref ref="console" />
+       </root>
+</log4j:configuration>
diff --git a/org.tizen.cli/doc/install/conf/log4j-error.xml b/org.tizen.cli/doc/install/conf/log4j-error.xml
new file mode 100644 (file)
index 0000000..50905c9
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+       <appender name="console" class="org.apache.log4j.ConsoleAppender">
+               <param name="Target" value="System.out" />
+               <layout class="org.apache.log4j.PatternLayout">
+                       <param name="ConversionPattern" value="[%p] %F(%L) - %m%n" />
+               </layout>
+       </appender>
+       
+       <root>
+               <priority value="error" />
+               <appender-ref ref="console" />
+       </root>
+</log4j:configuration>
diff --git a/org.tizen.cli/doc/install/conf/log4j-info.xml b/org.tizen.cli/doc/install/conf/log4j-info.xml
new file mode 100644 (file)
index 0000000..c1d5f9e
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+       <appender name="console" class="org.apache.log4j.ConsoleAppender">
+               <param name="Target" value="System.out" />
+               <layout class="org.apache.log4j.PatternLayout">
+                       <param name="ConversionPattern" value="[%p] %F(%L) - %m%n" />
+               </layout>
+       </appender>
+       
+       <root>
+               <priority value="info" />
+               <appender-ref ref="console" />
+       </root>
+</log4j:configuration>
diff --git a/org.tizen.cli/doc/install/conf/log4j-trace.xml b/org.tizen.cli/doc/install/conf/log4j-trace.xml
new file mode 100644 (file)
index 0000000..61298ea
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+       <appender name="console" class="org.apache.log4j.ConsoleAppender">
+               <param name="Target" value="System.out" />
+               <layout class="org.apache.log4j.PatternLayout">
+                       <param name="ConversionPattern" value="[%p] %F(%L) - %m%n" />
+               </layout>
+       </appender>
+       
+       <root>
+               <priority value="trace" />
+               <appender-ref ref="console" />
+       </root>
+</log4j:configuration>
diff --git a/org.tizen.cli/doc/install/conf/log4j-warn.xml b/org.tizen.cli/doc/install/conf/log4j-warn.xml
new file mode 100644 (file)
index 0000000..b984f69
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+       <appender name="console" class="org.apache.log4j.ConsoleAppender">
+               <param name="Target" value="System.out" />
+               <layout class="org.apache.log4j.PatternLayout">
+                       <param name="ConversionPattern" value="[%p] %F(%L) - %m%n" />
+               </layout>
+       </appender>
+       
+       <root>
+               <priority value="warn" />
+               <appender-ref ref="console" />
+       </root>
+</log4j:configuration>
diff --git a/org.tizen.cli/doc/install/conf/log4j.xml b/org.tizen.cli/doc/install/conf/log4j.xml
new file mode 100644 (file)
index 0000000..328d165
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+       <appender name="console" class="org.apache.log4j.ConsoleAppender">
+               <param name="Target" value="System.out" />
+               <layout class="org.apache.log4j.PatternLayout">
+                       <param name="ConversionPattern" value="[%p] %F(%L) - %m%n" />
+               </layout>
+       </appender>
+       
+       <root>
+               <priority value="off" />
+               <appender-ref ref="console" />
+       </root>
+</log4j:configuration>
diff --git a/org.tizen.cli/doc/install/sample/profiles.xml b/org.tizen.cli/doc/install/sample/profiles.xml
new file mode 100644 (file)
index 0000000..7d352b7
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<profiles>
+       <profile name="test">
+               <profileitem author="true" identifier="%a:%f:%w:%h:%t" key="/home/bylee/dev/cli/sample/samsung.devmode.sdk.cert.p12"/>
+               <profileitem author="false" identifier="%a:%f:%w:%h:%t" key="/home/bylee/dev/cli/sample/samsung.devmode.sdk.cert.p12"/>
+       </profile>
+</profiles>
index 7be1719..c81314f 100644 (file)
@@ -191,7 +191,7 @@ implements Prompter
         * @see org.tizen.common.core.command.Prompter#cancel()
         */
        @Override
-       synchronized public void cancel()
+       public void cancel()
        {
                bCancel = true;
        }