Added Windows examples in Command Line Interface category
authorJihoon Song <jihoon.song@samsung.com>
Thu, 6 Aug 2015 10:36:23 +0000 (19:36 +0900)
committerJihoon Song <jihoon.song@samsung.com>
Thu, 6 Aug 2015 10:48:11 +0000 (19:48 +0900)
Change-Id: Ibdc0dd584b3d25c9f0bc2f3f43249aaf3fc2e38a
Signed-off-by: Jihoon Song <jihoon.song@samsung.com>
org.tizen.devtools/html/native_tools/command_line_interface_n.htm
org.tizen.devtools/html/web_tools/command_line_interface_w.htm

index 0594042..3652b86 100644 (file)
@@ -103,6 +103,10 @@ Sets the default connection timeout value. The default is 60000 milliseconds.</p
 <li><p>Set the <span style="font-family: Courier New,Courier,monospace;">profile.xml</span> path globally:</p>
 <pre class="prettyprint">
 $ tizen cli-config –g default.profiles.path=/home/workspace/.metadata/.plugins/org.tizen.common.sign/profiles.xml
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat cli-config –g "default.profiles.path=C:\Users\workspace\.metadata\.plugins\org.tizen.common.sign\profiles.xml"
 </pre></li>
 <li><p>List all options for which values are set:</p>
 <pre class="prettyprint">
@@ -165,6 +169,11 @@ tizen create native-project [-p|--profile &lt;profile name&gt;] [-t|--template &
 <pre class="prettyprint">
 $ tizen create native-project –p mobile-2.3 –t basic_ui –n basic -- /home/workspace
 $ cd /home/workspace/basic
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat create native-project –p mobile-2.3 –t basic_ui –n basic -- C:\Users\workspace
+> cd C:\Users\workspace\basic
 </pre></li></ul>
 </td>
         </tr>   
@@ -193,6 +202,11 @@ tizen build-native [-a|--arch &lt;architecture name&gt;] [-c|--compiler &lt;comp
 <pre class="prettyprint">
 $ tizen build-native -–arch x86 –-compiler llvm –-configuration Debug -- /home/workspace/basic
 $ ls /home/workspace/basic/Debug/
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat build-native -–arch x86 –-compiler llvm –-configuration Debug -- C:\Users\workspace\basic
+> dir C:\Users\workspace\basic\Debug
 </pre></li>
 <li><p>Build the project with the default options:</p>
 <pre class="prettyprint">
@@ -202,6 +216,11 @@ default.build.compiler=llvm
 default.build.configuration=Debug
 $ tizen build-native -- /home/workspace/basic
 $ ls /home/workspace/basic/Debug/
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat build-native -- C:\Users\workspace\basic
+> dir C:\Users\workspace\basic\Debug
 </pre></li></ul>
 </td>
         </tr>   
@@ -232,11 +251,19 @@ tizen package [-t | --type &lt;package type&gt;] [-s | --sign &lt;security profi
 <ul>
 <li><p>Set up the path of the <span style="font-family: Courier New,Courier,monospace;">profile.xml</span> file that you already have:</p>
 <pre class="prettyprint">
-$ tizen cli-config –g default.profiles.path=/home/workspace/profiles.xml
+$ tizen cli-config –g default.profiles.path=/home/tizen-sdk/tools/ide/conf/profiles.xml
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat cli-config –g "default.profiles.path=C:\tizen-sdk\tools\ide\conf\profiles.xml"
 </pre></li>
 <li><p>Set up the path of the <span style="font-family: Courier New,Courier,monospace;">profile.xml</span> file that is created from the IDE:</p>
 <pre class="prettyprint">
 $ tizen cli-config –g default.profiles.path=/home/workspace/.metadata/.plugins/org.tizen.common.sign/profiles.xml
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat cli-config –g "default.profiles.path=C:\Users\workspace\.metadata\.plugins\org.tizen.common.sign\profiles.xml"
 </pre></li>
 <li><p>Package the profile:</p>
 <pre class="prettyprint">
@@ -245,10 +272,18 @@ $ tizen package –-type tpk –-sign myprofile -- /home/workspace/basic/Debug
 $ ls /home/workspace/basic/Debug
 
 org.tizen.basic-1.0.0-i386.tpk
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat package –-type tpk –-sign myprofile -- C:\Users\workspace\basic\Debug
 </pre></li>
 <li><p>Re-sign the package:</p>
 <pre class="prettyprint">
 $ tizen package --type tpk --sign myprofile2 -- /home/workspace/basic/Debug/org.tizen.basic-1.0.0-i386.tpk
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat package --type tpk --sign myprofile2 -- C:\Users\workspace\basic\Debug\org.tizen.basic-1.0.0-i386.tpk
 </pre></li>
 </ul>
 </td>
@@ -274,6 +309,10 @@ tizen install &lt;-t | -target &lt;target name&gt;&gt; &lt;-n | --name &lt;packa
 <li><p>Install a basic application named <span style="font-family: Courier New,Courier,monospace;">org.tizen.basic-1.0.0-i386.tpk</span> to the emulator-26101:</p>
 <pre class="prettyprint">
 $ tizen install -–target emulator-26101 –-name org.tizen.basic-1.0.0-i386.tpk -- /home/workspace/basic/Debug
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat install -–target emulator-26101 –-name org.tizen.basic-1.0.0-i386.tpk -- C:\Users\workspace\basic\Debug
 </pre></li></ul>
 </td>
         </tr>
index 0cf2534..98fca12 100644 (file)
@@ -100,6 +100,10 @@ Sets the default connection timeout value. The default is 60000 milliseconds.</p
 <li><p>Set the <span style="font-family: Courier New,Courier,monospace;">profile.xml</span> path globally:</p>
 <pre class="prettyprint">
 $ tizen cli-config -g default.profiles.path=/home/workspace/.metadata/.plugins/org.tizen.common.sign/profiles.xml
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat cli-config –g "default.profiles.path=C:\Users\workspace\.metadata\.plugins\org.tizen.common.sign\profiles.xml"
 </pre></li>
 <li><p>List all options for which values are set:</p>
 <pre class="prettyprint">
@@ -170,6 +174,10 @@ tizen create web-project [-p|--profile &lt;profile name&gt;] [-t|--template &lt;
 <li><p>Create the template project based on the basic Tizen mobile UI project:</p>
 <pre class="prettyprint">
 $ tizen create web-project -p mobile-2.3 -t BasicBasicApplication -n basic -- /home/workspace
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat create web-project -p mobile-2.3 -t BasicBasicApplication -n basic -- C:\Users\workspace
 </pre></li></ul>
 </td>
         </tr>   
@@ -203,7 +211,13 @@ tizen build-web [-opt | --optimize] [-euf | --exclude-uifw] [-e | --exclude] [-o
 <pre class="prettyprint">
 $ tizen build-web -- /home/workspace/basic
 $ cd /home/workspace/basic/.buildResult
-</pre></li>
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat build-web -- C:\Users\workspace\basic
+> dir C:\Users\workspace\basic\.buildResult
+</pre>
+</li>
 </ul>
 </td>
         </tr>   
@@ -231,27 +245,47 @@ tizen package [-t | --type &lt;package type&gt;] [-s | --sign &lt;security profi
 <ul>
 <li><p>Set up the path of the <span style="font-family: Courier New,Courier,monospace;">profile.xml</span> file that you already have:</p>
 <pre class="prettyprint">
-$ tizen cli-config -g default.profiles.path=/home/workspace/profiles.xml
+$ tizen cli-config –g default.profiles.path=/home/tizen-sdk/tools/ide/conf/profiles.xml
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat cli-config –g "default.profiles.path=C:\tizen-sdk\tools\ide\conf\profiles.xml"
 </pre></li>
 <li><p>Set up the path of the <span style="font-family: Courier New,Courier,monospace;">profile.xml</span> file that is created from the IDE:</p>
 <pre class="prettyprint">
 $ tizen cli-config –g default.profiles.path=/home/workspace/.metadata/.plugins/org.tizen.common.sign/profiles.xml
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat cli-config –g "default.profiles.path=C:\Users\workspace\.metadata\.plugins\org.tizen.common.sign\profiles.xml"
 </pre></li>
 <li><p>Package the profile:</p>
 <pre class="prettyprint">
 $ tizen package --type wgt --sign myprofile -- /home/workspace/basic/.buildResult
 
-$ cd /home/workspace/basic/.buildResult
+$ ls /home/workspace/basic/.buildResult
 
 basic.wgt
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat package --type wgt --sign myprofile -- C:\Users\workspace\basic\.buildResult
 </pre></li>
 <li><p>Re-sign the package:</p>
 <pre class="prettyprint">
 $ tizen package --type wgt --sign myprofile2 -- /home/workspace/basic/.buildResult/basic.wgt
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat package --type wgt --sign myprofile2 -- C:\Users\workspace\basic\.buildResult\basic.wgt
 </pre></li>
 <li><p>Re-sign a hybrid application package:</p>
 <pre class="prettyprint">
 $ tizen package --type wgt --sign myprofile2 --reference /home/workspace/a.tpk --reference /home/workspace/b.tpk -- /home/workspace/basic/.buildResult/basic.wgt
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat package --type wgt --sign myprofile2 --reference C:\Users\workspace\a.tpk --reference C:\Users\workspace\b.tpk -- C:\Users\workspace\basic\.buildResult\basic.wgt
 </pre></li>
 </ul>
 </td>
@@ -277,6 +311,10 @@ tizen install &lt;-t | -target &lt;target name&gt;&gt; &lt;-n | --name &lt;packa
 <li><p>Install the basic application named <span style="font-family: Courier New,Courier,monospace;">basic.wgt</span> to the emulator-26101:</p>
 <pre class="prettyprint">
 $ tizen install --target emulator-26101 --name basic.wgt -- /home/workspace/basic/.buildResult
+</pre>
+<p>or for Windows,</p>
+<pre class="prettyprint">
+> tizen.bat install -–target emulator-26101 –-name basic.wgt -- C:\Users\workspace\basic\.buildResult
 </pre></li></ul>
 </td>
         </tr>