Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A9A74D5A0 for ; Fri, 9 Nov 2012 22:10:42 +0000 (UTC) Received: (qmail 45229 invoked by uid 500); 9 Nov 2012 22:10:42 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 45204 invoked by uid 500); 9 Nov 2012 22:10:42 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 45196 invoked by uid 99); 9 Nov 2012 22:10:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 22:10:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shazron@gmail.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vb0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 22:10:18 +0000 Received: by mail-vb0-f47.google.com with SMTP id ez10so4371457vbb.6 for ; Fri, 09 Nov 2012 14:09:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :content-type; bh=EDAe5/EvMehL4WY6mt0yEgP47BruM34EJKgLCRqibjk=; b=D5XYPTTCqZvLe1shP1CvQIPE8cjRx3JRkSaHlaUEvP1utQNvZIdqHHtbW6S+3xvPQ7 YeYHMidqoy1AnyHGmsAAaggU/pdUWDlzfG0zUviePgu73jIsIiFRJkUaZYLhxDNHvZKP XLDFUssWWB+HLLJqfFG/F+AX0YUNVI+BHQaVm8MTmlzZl08xRi02S5r3gAX9cDxNXTgj SIAjR6zoF/POyuWh/BXOl5KH5vK2FnjTX2oeZNxoxSCnBjTS1v3JEXNVz7BNYW+WoWIh XHhzCvb8xhGmR8lV3eUQVSkL2dVhTwTZb30uO5fuSXjGNEYohy6RyOdkLai8gCFj4r7B jn1g== Received: by 10.58.198.164 with SMTP id jd4mr7188135vec.34.1352498994203; Fri, 09 Nov 2012 14:09:54 -0800 (PST) References: <20121106201724.CE4C344C79@tyr.zones.apache.org> From: Shazron Abdullah In-Reply-To: Mime-Version: 1.0 (1.0) Date: Fri, 9 Nov 2012 14:09:48 -0800 Message-ID: <-6534850357866630526@unknownmsgid> Subject: Re: docs commit: Add setup environment variables to getting started Android To: "dev@cordova.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Simon I'll do it when I get back to my computer. Right now it's of course on an Adobe server but this should be better once we are on Apache's servers and any committer can update On 2012-11-09, at 11:45 AM, Simon MacDonald wrote: > What do I need to do to get my latest doc changes up on docs.phonegap.com? > I've answered way too many questions about the new getting started guide > for Android. I've added the additional info to the guides and I'd like to > see them up on the website so I can just point folks at it. > > Simon Mac Donald > http://hi.im/simonmacdonald > > > On Tue, Nov 6, 2012 at 3:22 PM, Simon MacDonald > wrote: > >> Can we get this latest change up on docs.phonegap.com? The masses are not >> used to setting up environment variables. >> >> Simon Mac Donald >> http://hi.im/simonmacdonald >> >> >> >> ---------- Forwarded message ---------- >> From: >> Date: Tue, Nov 6, 2012 at 3:17 PM >> Subject: docs commit: Add setup environment variables to getting started >> Android >> To: callback-commits@incubator.apache.org >> >> >> Updated Branches: >> refs/heads/master 8ba0943c1 -> c57461e44 >> >> >> Add setup environment variables to getting started Android >> >> >> 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/c57461e4 >> Tree: >> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/c57461e4 >> Diff: >> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/c57461e4 >> >> Branch: refs/heads/master >> Commit: c57461e446cd0db8e43c05dd162d4e6cec444801 >> Parents: 8ba0943 >> Author: Simon MacDonald >> Authored: Tue Nov 6 15:16:53 2012 -0500 >> Committer: Simon MacDonald >> Committed: Tue Nov 6 15:17:03 2012 -0500 >> >> ---------------------------------------------------------------------- >> .../2.2.0/guide/getting-started/android/index.md | 41 +++++++++++++- >> .../en/edge/guide/getting-started/android/index.md | 41 +++++++++++++- >> 2 files changed, 76 insertions(+), 6 deletions(-) >> ---------------------------------------------------------------------- >> >> >> >> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/c57461e4/docs/en/2.2.0/guide/getting-started/android/index.md >> ---------------------------------------------------------------------- >> diff --git a/docs/en/2.2.0/guide/getting-started/android/index.mdb/docs/en/2.2.0/guide/getting-started/android/ >> index.md >> index 58f10e1..b672e98 100644 >> --- a/docs/en/2.2.0/guide/getting-started/android/index.md >> +++ b/docs/en/2.2.0/guide/getting-started/android/index.md >> @@ -36,7 +36,42 @@ This guide describes how to set up your development >> environment for Cordova and >> - Download and install [ADT Plugin]( >> http://developer.android.com/sdk/eclipse-adt.html#installing) >> - Download the latest copy of [Cordova]( >> http://incubator.apache.org/cordova/#download) and extract its contents. >> We will be working with the Android directory. >> >> -3. Setup New Project >> + >> +3A. Setup your PATH environment variable on Mac OS >> +--------------------------------------- >> + >> +- Open the Terminal program (this is in your Applications/Utilites folder >> by default). >> +- Run the following command >> + >> +`touch ~/.bash_profile; open ~/.bash_profile` >> + >> +- This will open the file in the your default text editor. >> +- You need to add the path to your Android SDK platform-tools and tools >> directory. In my example I will use "/Development/android-sdk-macosx" as >> the directory the SDK is installed in. Add the following line: >> + >> +`export >> PATH=${PATH}:/Development/android-sdk-macosx/platform-tools:/Development/android-sdk-macosx/tools` >> + >> +- Save the file and quit the text editor. >> +- Execute your .bash_profile to update your PATH. >> + >> +`source ~/.bash_profile` >> + >> +- Now everytime you open the Terminal program you PATH will included the >> Android SDK. >> + >> +3B. Setup your PATH environment variable on Windows >> +--------------------------------------- >> + >> +- From the Desktop, right-click My Computer and click Properties. >> +- Click Advanced System Settings link in the left column. >> +- In the System Properties window click the Environment Variables button. >> +- Select the PATH variable from the System variables section. >> +- Select the Edit button. >> +- You need to add the path to your Android SDK platform-tools and tools >> directory. In my example I will use "C:\Development\android-sdk-windows" as >> the directory the SDK is installed in. Append the following text into the >> text box: >> + >> >> +`;C:\Development\android-sdk-windows\platform-tools;C:\Development\android-sdk-windows\tools` >> + >> +- Save your edit. Close the Environment Variables dialog. >> + >> +4. Setup New Project >> -------------------- >> >> - In a terminal window, navigate to the `bin` directory within the >> `android` subfolder of the Cordova distribution. >> @@ -51,7 +86,7 @@ This guide describes how to set up your development >> environment for Cordova and >> - Select the directory you used for `` >> - Click Finish. >> >> -4A. Deploy to Emulator >> +5A. Deploy to Emulator >> ---------------------- >> >> - Right click the project and go to **Run As > Android Application** >> @@ -67,7 +102,7 @@ This guide describes how to set up your development >> environment for Cordova and >> - When starting the emulator, ensure there are no error messages about >> the HAX module failing to load. >> >> >> -4B. Deploy to Device >> +5B. Deploy to Device >> -------------------- >> >> - Make sure USB debugging is enabled on your device and plug it into your >> system. (**Settings > Applications > Development**) >> >> >> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/c57461e4/docs/en/edge/guide/getting-started/android/index.md >> ---------------------------------------------------------------------- >> diff --git a/docs/en/edge/guide/getting-started/android/index.mdb/docs/en/edge/guide/getting-started/android/ >> index.md >> index 58f10e1..b672e98 100644 >> --- a/docs/en/edge/guide/getting-started/android/index.md >> +++ b/docs/en/edge/guide/getting-started/android/index.md >> @@ -36,7 +36,42 @@ This guide describes how to set up your development >> environment for Cordova and >> - Download and install [ADT Plugin]( >> http://developer.android.com/sdk/eclipse-adt.html#installing) >> - Download the latest copy of [Cordova]( >> http://incubator.apache.org/cordova/#download) and extract its contents. >> We will be working with the Android directory. >> >> -3. Setup New Project >> + >> +3A. Setup your PATH environment variable on Mac OS >> +--------------------------------------- >> + >> +- Open the Terminal program (this is in your Applications/Utilites folder >> by default). >> +- Run the following command >> + >> +`touch ~/.bash_profile; open ~/.bash_profile` >> + >> +- This will open the file in the your default text editor. >> +- You need to add the path to your Android SDK platform-tools and tools >> directory. In my example I will use "/Development/android-sdk-macosx" as >> the directory the SDK is installed in. Add the following line: >> + >> +`export >> PATH=${PATH}:/Development/android-sdk-macosx/platform-tools:/Development/android-sdk-macosx/tools` >> + >> +- Save the file and quit the text editor. >> +- Execute your .bash_profile to update your PATH. >> + >> +`source ~/.bash_profile` >> + >> +- Now everytime you open the Terminal program you PATH will included the >> Android SDK. >> + >> +3B. Setup your PATH environment variable on Windows >> +--------------------------------------- >> + >> +- From the Desktop, right-click My Computer and click Properties. >> +- Click Advanced System Settings link in the left column. >> +- In the System Properties window click the Environment Variables button. >> +- Select the PATH variable from the System variables section. >> +- Select the Edit button. >> +- You need to add the path to your Android SDK platform-tools and tools >> directory. In my example I will use "C:\Development\android-sdk-windows" as >> the directory the SDK is installed in. Append the following text into the >> text box: >> + >> >> +`;C:\Development\android-sdk-windows\platform-tools;C:\Development\android-sdk-windows\tools` >> + >> +- Save your edit. Close the Environment Variables dialog. >> + >> +4. Setup New Project >> -------------------- >> >> - In a terminal window, navigate to the `bin` directory within the >> `android` subfolder of the Cordova distribution. >> @@ -51,7 +86,7 @@ This guide describes how to set up your development >> environment for Cordova and >> - Select the directory you used for `` >> - Click Finish. >> >> -4A. Deploy to Emulator >> +5A. Deploy to Emulator >> ---------------------- >> >> - Right click the project and go to **Run As > Android Application** >> @@ -67,7 +102,7 @@ This guide describes how to set up your development >> environment for Cordova and >> - When starting the emulator, ensure there are no error messages about >> the HAX module failing to load. >> >> >> -4B. Deploy to Device >> +5B. Deploy to Device >> -------------------- >> >> - Make sure USB debugging is enabled on your device and plug it into your >> system. (**Settings > Applications > Development**) >> >> >>