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 3B9B1D01F for ; Fri, 9 Nov 2012 19:45:46 +0000 (UTC) Received: (qmail 37003 invoked by uid 500); 9 Nov 2012 19:45:46 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 36952 invoked by uid 500); 9 Nov 2012 19:45:46 -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 36942 invoked by uid 99); 9 Nov 2012 19:45:46 -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 19:45:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simon.macdonald@gmail.com designates 209.85.210.47 as permitted sender) Received: from [209.85.210.47] (HELO mail-da0-f47.google.com) (209.85.210.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 19:45:41 +0000 Received: by mail-da0-f47.google.com with SMTP id s35so1642748dak.6 for ; Fri, 09 Nov 2012 11:45:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ZssbcTwx4zLkuxlhLioSdkf27Kg684LjZuigXy3ojFQ=; b=yzjpsdgd97+N20cJuX6n7AGu6WGJIj7WcS5JbYeqbJjpiry4boqZ09DGorpF/8psOA YO5Qjo5bITHdS+4klZ3sKCQRiGvHs0ro1gmisFKF8+GzwV+wI2WE/aGT5dJn5IhSmusW epR72RsIb9+II25UsYiI2R7cHVShFdDmvOJpA4yZ2wV32uTsA6aKV/2mDvIuxpxsqsWn MZj3b5S2UtHU3zoL9jiTJzFlFmAVUMzMxP6NcrW5bgJJa/5YowxA4SHbwNQH4vXmoTpA +7oeuwN+WI9lC3FF8En8/DSTDLPBdmwOBlzc9z3wkBRcWqf4ioZT7HGGdpMd7c0BmCUq OHJg== Received: by 10.68.136.67 with SMTP id py3mr37159549pbb.40.1352490321489; Fri, 09 Nov 2012 11:45:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.227.101 with HTTP; Fri, 9 Nov 2012 11:45:01 -0800 (PST) In-Reply-To: References: <20121106201724.CE4C344C79@tyr.zones.apache.org> From: Simon MacDonald Date: Fri, 9 Nov 2012 14:45:01 -0500 Message-ID: Subject: Re: docs commit: Add setup environment variables to getting started Android To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=047d7b15a7dd2cb05c04ce153175 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15a7dd2cb05c04ce153175 Content-Type: text/plain; charset=ISO-8859-1 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**) > > > --047d7b15a7dd2cb05c04ce153175--