You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2013/04/26 07:19:41 UTC

webworks commit: [CB-3232] Update bin/create to be run from any directory.

Updated Branches:
  refs/heads/master 493deb905 -> baa789cd5


[CB-3232] Update bin/create to be run from any directory.


Project: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/commit/baa789cd
Tree: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/tree/baa789cd
Diff: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/diff/baa789cd

Branch: refs/heads/master
Commit: baa789cd5f28fe7313821639b953b5f35643a7ee
Parents: 493deb9
Author: Michael Brooks <mi...@michaelbrooks.ca>
Authored: Thu Apr 25 22:18:56 2013 -0700
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Thu Apr 25 22:18:56 2013 -0700

----------------------------------------------------------------------
 bin/create |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/baa789cd/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index 54903b8..ca84dc8 100755
--- a/bin/create
+++ b/bin/create
@@ -93,7 +93,7 @@ then
     fi
     
 	echo "Creating BlackBerry project..."
-	(cd "$BUILD_PATH" && "$ANT" create -Dproject.path="$PROJECT_PATH" &> /dev/null )
+	("$ANT" create -Dproject.path="$PROJECT_PATH" -f "$BUILD_PATH/build.xml" &> /dev/null)
     # interpolate the activity and package into config.xml
     echo "Updating config.xml ..."
     replace "s/__NAME__/${NAME}/g" "$MANIFEST_PATH"