You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2012/06/29 00:43:26 UTC

[1/2] docs commit: [CB-872] more tweaks to cli guide

Updated Branches:
  refs/heads/master 37872c6ce -> f80287671


[CB-872] more tweaks to cli guide


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/f8028767
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/f8028767
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/f8028767

Branch: refs/heads/master
Commit: f802876717b3ca88b9e068819b360bd5fe511d8e
Parents: ee701d2
Author: Fil Maj <ma...@gmail.com>
Authored: Thu Jun 28 15:44:35 2012 -0700
Committer: Fil Maj <ma...@gmail.com>
Committed: Thu Jun 28 15:44:35 2012 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/command-line/index.md |   64 +++++++++++-------------
 1 files changed, 29 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/f8028767/docs/en/edge/guide/command-line/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/command-line/index.md b/docs/en/edge/guide/command-line/index.md
index 4742ef5..49d4ebc 100644
--- a/docs/en/edge/guide/command-line/index.md
+++ b/docs/en/edge/guide/command-line/index.md
@@ -30,9 +30,9 @@ Cordova projects.
 
 ## Supported Platforms
 
-* iOS
-* Android
-* BlackBerry
+* [iOS](#Command-Line%20Usage_ios)
+* [Android](#Command-Line%20Usage_android)
+* [BlackBerry](#Command-Line%20Usage_blackberry)
 
 ## iOS
 
@@ -47,6 +47,7 @@ Run the `create` command with the following parameters:
 * Package name, following reverse-domain style convention
 * Project name
 
+<!-- -->
 
     $ ./path/to/cordova-ios/bin/create /path/to/my_new_cordova_project com.example.cordova_project_name CordovaProjectName
 
@@ -71,41 +72,36 @@ PATH!
 
 ### Create a project
 
-Run the `create` comand with the following parameters:
+Run the `create` command with the following parameters:
 
 * Path to your new Cordova Android project
 * Package name, following reverse-domain style convention
 * Main Activity name
 
+<!-- -->
 
     $ /path/to/cordova-android/bin/create /path/to/my_new_cordova_project com.example.cordova_project_name CordovaProjectName
 
-or
+or, on **Windows**
 
     $ /path/to/cordova-android/bin/create.bat /path/to/my_new_cordova_project com.example.cordova_project_name CordovaProjectName
 
-on **Windows**
-
 ### Build a project
 
     $ /path/to/my_new_cordova_project/cordova/debug
 
-or
+or, on **Windows**
 
     $ /path/to/my_new_cordova_project/cordova/debug.bat
 
-on **Windows**
-
 ### Launch emulator
 
     $ /path/to/my_new_cordova_project/cordova/emulate
 
-or
+or, on **Windows**
 
     $ /path/to/my_new_cordova_project/cordova/emulate.bat
 
-on **Windows**
-
 Make sure you have created at least one Android Virtual Device. If you did not it will ask you to create one with the `android` command.
 If you have multiple AVDs, it will prompt you to select an AVD.
 
@@ -113,32 +109,26 @@ If you have multiple AVDs, it will prompt you to select an AVD.
 
     $ /path/to/my_new_cordova_project/cordova/log
 
-or
+or, on **Windows**
 
     $ /path/to/my_new_cordova_project/cordova/log.bat
 
-on **Windows**
-
 ### Cleaning
 
     $ /path/to/my_new_cordova_project/cordova/clean
 
-or
+or, on **Windows**
 
     $ /path/to/my_new_cordova_project/cordova/clean.bat
 
-on **Windows**
-
 ### Clean, build, deploy and launch
 
     $ /path/to/my_new_cordova_project/cordova/BOOM
 
-or
+or, on **Windows**
 
     $ /path/to/my_new_cordova_project/cordova/BOOM.bat
 
-on **Windows**
-
 Make sure you have an emulator or a device connected.
 
 
@@ -148,43 +138,47 @@ The BlackBerry command-line tools are built upon shell scripts.
 
 ### Create a project
 
-Run the `create` comand with the following parameters:
+Run the `create` command with the following parameters:
 
 * Path to your new Cordova BlackBerry project
 * Application name
 
+<!-- -->
 
     $ /path/to/cordova-blackberry-webworks/bin/create /path/to/my_new_cordova_project CordovaProjectName
 
-or
+or, on **Windows**
 
     $ /path/to/cordova-blackberry-webworks/bin/create.bat /path/to/my_new_cordova_project CordovaProjectName
 
-on **Windows**
-
 ### Build a project
 
+For BlackBerry projects, please make sure you customize the
+`project.properties` file in the root of your Cordova project folder.
+This is necessary for things like supplying your BlackBerry signing key
+password, location of the BlackBerry WebWorks SDK, and location of
+BlackBerry simulator executables.
+
     $ /path/to/my_new_cordova_project/cordova/debug
 
-or
+or, on **Windows**
 
     $ /path/to/my_new_cordova_project/cordova/debug.bat
 
-on **Windows**
-
 ### Launch emulator
 
+For BlackBerry projects, please make sure you customize the
+`project.properties` file in the root of your Cordova project folder.
+This is necessary for things like supplying your BlackBerry signing key
+password, location of the BlackBerry WebWorks SDK, and location of
+BlackBerry simulator executables.
+
     $ /path/to/my_new_cordova_project/cordova/emulate
 
-or
+or, on **Windows**
 
     $ /path/to/my_new_cordova_project/cordova/emulate.bat
 
-on **Windows**
-
-Make sure you have created at least one Android Virtual Device. If you did not it will ask you to create one with the `android` command.
-If you have multiple AVDs, it will prompt you to select an AVD.
-
 ### Logging
 
 Unfortunately streaming logs directly from the device is not