cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [19/50] [abbrv] docs commit: [CB-5739] rm outmoded shell cmd topic; add 'clean' to plat guide
Date Thu, 20 Feb 2014 21:08:58 GMT
[CB-5739] rm outmoded shell cmd topic; add 'clean' to plat guide


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

Branch: refs/heads/master
Commit: 84f5601a9c25d64dd6e27c4aeb9572b0c44e431d
Parents: 4924ec4
Author: Mike Sierra <msierra@adobe.com>
Authored: Fri Feb 7 15:04:17 2014 -0500
Committer: Mike Sierra <msierra@adobe.com>
Committed: Fri Feb 7 15:04:17 2014 -0500

----------------------------------------------------------------------
 docs/en/edge/guide/platforms/wp8/index.md |  19 ++++-
 docs/en/edge/guide/platforms/wp8/tools.md | 113 -------------------------
 2 files changed, 16 insertions(+), 116 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/84f5601a/docs/en/edge/guide/platforms/wp8/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/wp8/index.md b/docs/en/edge/guide/platforms/wp8/index.md
index 2c0cc6f..c7772fa 100644
--- a/docs/en/edge/guide/platforms/wp8/index.md
+++ b/docs/en/edge/guide/platforms/wp8/index.md
@@ -164,7 +164,7 @@ the SDK available to Cordova on the Windows command line:
   Here is a sample __PATH__ value that also specifies the `npm`
   utility that is required to install the Cordova CLI:
 
-    C:\Users\sierra\AppData\Roaming\npm;C:\Windows\Microsoft.NET\Framework\v4.0.30319
+    C:\Users\me\AppData\Roaming\npm;C:\Windows\Microsoft.NET\Framework\v4.0.30319
 
 ## Create a New Project
 
@@ -204,6 +204,11 @@ for release:
         C:\path\to\project\cordova\build.bat --debug        
         C:\path\to\project\cordova\build.bat --release
 
+The `clean` command helps flush out directories in preparation for the
+next `build`:
+
+        C:\path\to\project\cordova\clean.bat
+
 ## Deploy to Emulator
 
 At this point you can use the `cordova` CLI utility to deploy the
@@ -213,7 +218,14 @@ application to the emulator from the command line:
 
 Otherwise use the alternate shell interface:
 
-        C:/path/to/project/cordova/run --emulator
+        C:\path\to\project\cordova\run
+
+By default, the `run` script invokes the emulator flag, and accepts
+additional build flags, for which `--debug` provides the default:
+
+        C:\path\to\project\cordova\run --emulator --debug
+        C:\path\to\project\cordova\run --emulator --release
+        C:\path\to\project\cordova\run --emulator --nobuild
 
 The emulator launches a device image with the app installed. From the
 home screen, navigate to the apps panel to launch the __HelloWorld__
@@ -249,7 +261,7 @@ Then run the following CLI command to run the app on the device:
 
 It corresponds to this lower-level shell command:
 
-        C:/path/to/project/cordova/run --device
+        C:\path\to\project\cordova\run --device
 
 Alternately, if you are working in Visual Studio, select __Windows
 Phone Device__ from the drop-down menu at the top, then press the
@@ -299,3 +311,4 @@ some advanced features available in Windows Phone 8 apps. Still, both
 implement the same set of APIs. You can run a Windows Phone 7 app on a
 Windows Phone 8 device, but not the other way around: Windows Phone 8
 apps do _not_ run on Windows Phone 7 devices.
+

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/84f5601a/docs/en/edge/guide/platforms/wp8/tools.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/wp8/tools.md b/docs/en/edge/guide/platforms/wp8/tools.md
deleted file mode 100644
index 07900ad..0000000
--- a/docs/en/edge/guide/platforms/wp8/tools.md
+++ /dev/null
@@ -1,113 +0,0 @@
----
-license: Licensed to the Apache Software Foundation (ASF) under one
-         or more contributor license agreements.  See the NOTICE file
-         distributed with this work for additional information
-         regarding copyright ownership.  The ASF licenses this file
-         to you under the Apache License, Version 2.0 (the
-         "License"); you may not use this file except in compliance
-         with the License.  You may obtain a copy of the License at
-         
-           http://www.apache.org/licenses/LICENSE-2.0
-         
-         Unless required by applicable law or agreed to in writing,
-         software distributed under the License is distributed on an
-         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-         KIND, either express or implied.  See the License for the
-         specific language governing permissions and limitations
-         under the License.
----
-
-# Windows Phone Command-line Tools
-
-The `cordova` command-line utility is a high-level tool that allows
-you to build applications across several platforms at once. An older
-version of the Cordova framework provides sets of command-line tools
-specific to each platform. To use them as an alternative to the CLI,
-you need to download this version of Cordova from
-[cordova.apache.org](http://cordova.apache.org). The download contains
-separate archives for each platform. Expand the platform you wish to
-target. The tools described here are typically available in the
-top-level `bin` directory, otherwise consult the __README__ file for
-more detailed directions.
-
-For information on the low-level command-line interface that enables
-plugins, see Using Plugman to Manage Plugins. See Application Plugins
-for an overview.
-
-## Windows Phone
-
-The Windows Phone command-line tools support creating, building, and
-running new projects. Commands must be run from a cmd or powershell
-prompt.
-
-The WP8 repo now includes code for building both WP7 + WP8 apps.  The
-repo has subdirectories for each: `wp7/` and `wp8/`.
-
-## Create a Project
-
-There are 2 ways to go about creating a new Apache Cordova WP7 or WP8 application.
-
-### Run the Batch File to Create and Install the Templates
-
-- The root of the repo contains a `createTemplates.bat` file.
-  Double-clicking it generates two `.zip` files:
-  `CordovaWP7_x_x_x.zip` and `CordovaWP8_x_x_x.zip`, where _x.x.x_
-  represents the current version number. To easily use these files in
-  Visual Studio, copy them to `My Documents\Visual Studio
-  2012\Templates\ProjectTemplates\`. You are then able to create
-  new Apache Cordova Windows Phone apps from Visual Studio's
-  __File &rarr; New Project__ menu.
-
-- If you run the batch file from the command line, you can also call with a parameter to
install automatically
-
-Run the script :
-
-    >createTemplates.bat -install
-
-### Use the Create Scripts on the Command Line
-
-Run the `create` command, specifying the existing path to the project,
-the reverse-domain-style package identifier, and the app's display
-name.  Here is the syntax for both Windows Phone 7 and 8:
-
-    >.\wp7\bin\create PathToNewProject [ PackageName ] [ AppName ]
-    >.\wp8\bin\create PathToNewProject [ PackageName ] [ AppName ]
-
-    >PathToNewProject : The path to where you wish to create the project
-    >PackageName      : The namespace for the project (default is Cordova.Example)
-    >AppName          : The name of the application (default is CordovaWP8AppProj or CordovaWP7AppProj)
-
-    >examples:
-    >.\wp7\bin\create C:\path\to\my_new_project
-    >.\wp8\bin\create C:\path\to\my_new_project io.cordova.example CordovaWP8App
-
-Launch Visual Studio and open Solution file (.sln) in (C:\path\to\my_new_project)
-
-Build and Run it
-
-## Building the Project (Clean, then Build)
-
-* Debug
-
-    $ C:\path\to\my_new_project\cordova\build --debug
-
-* Release
-
-    $ C:\path\to\my_new_project\cordova\build --release
-
-## Running the App
-
-Run the 'run' command with the following *optional* parameters
-
-* Target specification. This includes `--emulator`, `--device`, or `--target=<targetID>`.
-
-* Build specification. This includes `--debug`, `--release`, or `--nobuild`.
-
-    $ C:\path\to\my_new_project\cordova\run [Target] [Build]
-
-By default the `run` command is called with `--emulator --debug` if flags are not provided.
-
-## Cleaning
-
-    $ C:\path\to\my_new_project\cordova\clean
-


Mime
View raw message