You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2012/10/09 18:29:34 UTC
android commit: get commons-codec from apache archive, not osuosl
Updated Branches:
refs/heads/master a741c66c9 -> 4e0c8982c
get commons-codec from apache archive, not osuosl
prevents the issue where, when a new release of commons-codec comes out,
`bin/create` stops working
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/4e0c8982
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/4e0c8982
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/4e0c8982
Branch: refs/heads/master
Commit: 4e0c8982c95669a94e1cceb9d77e481aeefc7b61
Parents: a741c66
Author: alunny <al...@gmail.com>
Authored: Mon Oct 8 15:09:42 2012 -0700
Committer: alunny <al...@gmail.com>
Committed: Mon Oct 8 15:12:13 2012 -0700
----------------------------------------------------------------------
bin/create | 2 +-
bin/create.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/4e0c8982/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index e38dd0c..71b912b 100755
--- a/bin/create
+++ b/bin/create
@@ -103,7 +103,7 @@ then
if [ ! -e "$BUILD_PATH"/framework/libs/commons-codec-1.7.jar ]; then
# Use curl to get the jar (TODO: Support Apache Mirrors)
- curl -OL http://apache.osuosl.org/commons/codec/binaries/commons-codec-1.7-bin.zip &> /dev/null
+ curl -OL http://archive.apache.org/dist/commons/codec/binaries/commons-codec-1.7-bin.zip &> /dev/null
unzip commons-codec-1.7-bin.zip &> /dev/null
mkdir -p "$BUILD_PATH"/framework/libs
cp commons-codec-1.7/commons-codec-1.7.jar "$BUILD_PATH"/framework/libs
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/4e0c8982/bin/create.js
----------------------------------------------------------------------
diff --git a/bin/create.js b/bin/create.js
index c6d05bb..2d6b8d6 100644
--- a/bin/create.js
+++ b/bin/create.js
@@ -90,7 +90,7 @@ function cleanup() {
function downloadCommonsCodec() {
if (!fso.FileExists(ROOT + '\\framework\\libs\\commons-codec-1.7.jar')) {
// We need the .jar
- var url = 'http://apache.osuosl.org/commons/codec/binaries/commons-codec-1.7-bin.zip';
+ var url = 'http://archive.apache.org/dist/commons/codec/binaries/commons-codec-1.7-bin.zip';
var libsPath = ROOT + '\\framework\\libs';
var savePath = libsPath + '\\commons-codec-1.7-bin.zip';
if (!fso.FileExists(savePath)) {