You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2013/06/05 23:50:45 UTC

[1/2] docs commit: added info on Windows 8 project creation from the command line.

Updated Branches:
  refs/heads/2.8.x 43b9c7b0d -> 7d44907ce


added info on Windows 8 project creation from the command line.


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

Branch: refs/heads/2.8.x
Commit: a43621bdaac462a01fb5bb743f6006912c2b4401
Parents: 43b9c7b
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Wed Jun 5 14:34:17 2013 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Wed Jun 5 14:34:17 2013 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/command-line/index.md |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a43621bd/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 463ea71..4643920 100644
--- a/docs/en/edge/guide/command-line/index.md
+++ b/docs/en/edge/guide/command-line/index.md
@@ -34,12 +34,13 @@ Cordova projects.
 * [Android](#Command-Line%20Usage_android)
 * [BlackBerry](#Command-Line%20Usage_blackberry)
 * [BlackBerry 10](#Command-Line%20Usage_blackberry_10)
-* [Windows Phone 8](#Command-Line%20Usage_wp8)
+* [Windows Phone](#Command-Line%20Usage_windows_phone)
+* [Windows 8](#Command-Line%20Usage_windows_8)
 
 ## Windows Phone
 
 The Windows Phone command line tools support creating, building and
-running new projects.
+running new projects.  Commands must be run from a cmd or powershell prompt.
 
 ### Create a project
 
@@ -84,7 +85,6 @@ By default the `run` command will look for a connected device, if no device is f
 
     $ C:\path\to\my_new_cordova_project\cordova\clean
 
-
 ## iOS
 
 The iOS command-line tools are built upon shell scripts and rely on
@@ -385,3 +385,16 @@ The `target` command allows you to add and remove plugins
 <path-to-project>/cordova/plugin rm <name>
 ```
 
+## Windows 8
+
+The Windows 8 command line tools support creating new projects only.
+Commands must be run from a cmd or powershell prompt.
+
+### Create a project
+
+Run the `create` command with the following parameters:
+
+* Path to your new Cordova Windows 8 project
+* Package Name, following reverse-domain style convention ( this becomes the default Namespace )
+* Project name
+


[2/2] docs commit: updated updating guide for WP7/8 and added a new one for Windows 8

Posted by pu...@apache.org.
updated updating guide for WP7/8 and added a new one for Windows 8


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

Branch: refs/heads/2.8.x
Commit: 7d44907ce3e0cbab85d047aa5ae4107d239ad05d
Parents: a43621b
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Wed Jun 5 14:50:08 2013 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Wed Jun 5 14:50:08 2013 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/upgrading/index.md              |    1 +
 docs/en/edge/guide/upgrading/windows-8/index.md    |   31 +++++++++++++++
 .../en/edge/guide/upgrading/windows-phone/index.md |   12 +++++-
 3 files changed, 43 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7d44907c/docs/en/edge/guide/upgrading/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/upgrading/index.md b/docs/en/edge/guide/upgrading/index.md
index 009d554..ff83b00 100644
--- a/docs/en/edge/guide/upgrading/index.md
+++ b/docs/en/edge/guide/upgrading/index.md
@@ -28,5 +28,6 @@ Upgrading Guides
 - Upgrading Cordova Symbian
 - Upgrading Cordova webOS
 - Upgrading Cordova Windows Phone
+- Upgrading Cordova Windows 8
 - Upgrading Cordova Bada
 - Upgrading Cordova Tizen

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7d44907c/docs/en/edge/guide/upgrading/windows-8/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/upgrading/windows-8/index.md b/docs/en/edge/guide/upgrading/windows-8/index.md
new file mode 100644
index 0000000..3f87130
--- /dev/null
+++ b/docs/en/edge/guide/upgrading/windows-8/index.md
@@ -0,0 +1,31 @@
+---
+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.
+---
+
+Upgrading Cordova Windows 8
+===============================
+
+This document is for people who need to upgrade their Cordova versions from an older version to a current version of Cordova. This applies to applications targetting Windows 8 and the Windows Store.
+
+## Upgrade to 2.8.0 from 2.7.0 ##
+
+The following commands should be done from within Visual Studio to be sure that the any project references are updated/deleted.
+
+1. Remove cordova-2.7.0.js from the www directory in your project. 
+2. Add cordova.js file from the source to the www directory in your project. ( note that the file no longer contains a version number in the file name )
+3. Build and test!

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7d44907c/docs/en/edge/guide/upgrading/windows-phone/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/upgrading/windows-phone/index.md b/docs/en/edge/guide/upgrading/windows-phone/index.md
index cf5726c..a027299 100644
--- a/docs/en/edge/guide/upgrading/windows-phone/index.md
+++ b/docs/en/edge/guide/upgrading/windows-phone/index.md
@@ -22,12 +22,22 @@ Upgrading Cordova Windows Phone
 
 This document is for people who need to upgrade their Cordova versions from an older version to a current version of Cordova. This applies to both WP7 and WP8.
 
+## Upgrade to 2.8.0 from 2.7.0 ##
+
+### In Visual Studio's Solution Explorer window:
+1. Create a new Apache Cordova WP7 or WP8 2.8.0 Project
+2. Copy the contents of your 'www' folder to the new project, and be sure these items are added to the VS project.
+3. Update your HTML to use the new cordova.js file. ( note that there is no longer a version number in the name )
+4. Copy and overwrite any splash screen, or icon images.
+5. Copy over any plugins from the plugins folder to the new project and ensure that they are also added to the VS project.
+6. Build and test.
+
 ## Upgrade to 2.7.0 from 2.6.0 ##
 
 ### In Visual Studio's Solution Explorer window:
 1. Create a new Apache Cordova WP7 or WP8 2.7.0 Project
 2. Copy the contents of your 'www' folder to the new project, and be sure these items are added to the VS project.
-3. Update your HTML to use the new cordova-2.67.0.js file.
+3. Update your HTML to use the new cordova-2.7.0.js file.
 4. Copy and overwrite any splash screen, or icon images.
 5. Copy over any plugins from the plugins folder to the new project and ensure that they are also added to the VS project.
 6. Build and test.