Tweaked create so it fetches the commons-codec using curl
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/c6349668 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/c6349668 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/c6349668 Branch: refs/heads/master Commit: c6349668dd24d53bf893425543b5c4bdc0ebda84 Parents: b2f49b1 Author: Joe Bowser <bows...@apache.org> Authored: Fri May 11 16:07:43 2012 -0700 Committer: Joe Bowser <bows...@apache.org> Committed: Fri May 11 16:07:43 2012 -0700 ---------------------------------------------------------------------- bin/create | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c6349668/bin/create ---------------------------------------------------------------------- diff --git a/bin/create b/bin/create index 84122a5..e767044 100755 --- a/bin/create +++ b/bin/create @@ -38,6 +38,11 @@ fi # update the cordova-android framework for the desired target android update project --target $TARGET --path ./framework +# Use curl to get the jar (TODO: Support Apache Mirrors) +curl -OL http://mirror.symnds.com/software/Apache//commons/codec/binaries/commons-codec-1.6-bin.zip +unzip commons-codec-1.6-bin.zip +cp commons-codec-1.6/commons-codec-1.6.jar ./framework/libs + # compile cordova.js and cordova.jar cd ./framework && ant jar && cd ../