Minor changes to droidgap to make it work on my shell (cygwin), merging in Joe`s changes/fixes to geo + JavaScript

This commit is contained in:
filmaj
2010-03-17 11:02:10 -07:00
parent f53b4ec109
commit 24d5948d0d
2 changed files with 13 additions and 74 deletions
+3 -2
View File
@@ -43,8 +43,9 @@ class Build
# TODO validate Android SDK
# TODO fix 'android' shell call so that it works on Windows. Can't prepend android command with path to it.
def create_android
target_id = 5 # `android list targets` =~ /id:\s*(\d+).*android-5/ ? $1 : 5
puts "Creating Android project for SDK target level #{ target_id }"
android_exec = File.join(@android_sdk_path, "tools", "android");
target_id = 5
puts "Creating Android project for target level #{ target_id }"
`android create project -t #{ target_id } -k #{ @pkg } -a #{ @name } -n #{ @name } -p #{ @path }`
end