From ef8e8a3ab406ee639d1940e7fb3e19a6fbc155ec Mon Sep 17 00:00:00 2001 From: Dave Johnson Date: Sun, 21 Aug 2011 00:29:07 -0700 Subject: [PATCH] Fix up a few things for the ant create to work on mac --- bin/create.js | 2 +- bin/create.xml | 18 ++++++++---------- bin/templates/project/AndroidManifest.xml | 20 ++++++++++---------- framework/build.xml | 6 +++--- 4 files changed, 22 insertions(+), 24 deletions(-) diff --git a/bin/create.js b/bin/create.js index 23065665..37e2977a 100644 --- a/bin/create.js +++ b/bin/create.js @@ -60,7 +60,7 @@ exec('android.bat update project --target '+TARGET+' --path framework'); // compile phonegap.js and phonegap.jar // if you see an error about "Unable to resolve target" then you may need to // update your android tools or install an additional Android platform version -exec('ant.bat -v -f framework\\build.xml jar'); +exec('ant.bat -f framework\\build.xml jar'); // copy in the project template exec('cmd /c xcopy bin\\templates\\project '+PROJECT_PATH+' /S /Y'); diff --git a/bin/create.xml b/bin/create.xml index a578993d..c8c636a6 100644 --- a/bin/create.xml +++ b/bin/create.xml @@ -7,17 +7,20 @@ + package-as-path=${package} + - + + - + @@ -35,7 +38,7 @@ - + @@ -43,19 +46,14 @@ - + - - - - - - + diff --git a/bin/templates/project/AndroidManifest.xml b/bin/templates/project/AndroidManifest.xml index 7f654257..2269f379 100644 --- a/bin/templates/project/AndroidManifest.xml +++ b/bin/templates/project/AndroidManifest.xml @@ -32,17 +32,17 @@ - - - - - + + + + + - - - + + + diff --git a/framework/build.xml b/framework/build.xml index 275a9930..a253d2b1 100755 --- a/framework/build.xml +++ b/framework/build.xml @@ -109,7 +109,7 @@ - + @@ -120,14 +120,14 @@ - + - +