From fc6f2f5d39abb8336aec6a196c9e6b30c0cee9fe Mon Sep 17 00:00:00 2001 From: Brian LeRoux Date: Mon, 25 Jan 2010 22:03:19 -0800 Subject: [PATCH] removes and .gitignore framework/local.properties, updated README --- .gitignore | 3 ++- README.md | 5 ++++- framework/local.properties | 10 ---------- 3 files changed, 6 insertions(+), 12 deletions(-) delete mode 100644 framework/local.properties diff --git a/.gitignore b/.gitignore index 90eca753..26ec74ca 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ default.properties bin gen -assets/www/phonegap.js \ No newline at end of file +assets/www/phonegap.js +local.properties \ No newline at end of file diff --git a/README.md b/README.md index aaceb118..40f779ef 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,10 @@ Getting Started with PhoneGap Android 1. Make sure you have Ruby and the nokogiri gem installed. Run 'gem list' to see a list of installed Ruby gems, and 'gem install nokogiri' from command-line if you don't have it. 2. Clone the repository using git, from command line: git clone git://github.com/phonegap/phonegap-android.git 3. Run 'cd phonegap-android/framework' -4. Make sure you change the location of your Android SDK, this is inside the local.properties file +4. Create a local.properties file with the following line in it: + + sdk-location=/path/to/your/androidsdk + 5. Run 'ant jar' - this will create the phonegap.jar file and build a fresh phonegap.js for use in your HTML/JS/CSS-based application (for accessing native functionality). 6. cd back to the root directory (cd ..) 7. Run 'ruby build.rb ', where: diff --git a/framework/local.properties b/framework/local.properties deleted file mode 100644 index a5e6ea87..00000000 --- a/framework/local.properties +++ /dev/null @@ -1,10 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must *NOT* be checked in Version Control Systems, -# as it contains information specific to your local configuration. - -# location of the SDK. This is only used by Ant -# For customization when using a Version Control System, please read the -# header note. -sdk-location=/home/bowserj/android-sdk-linux_x86-1.6_r1