From 4e0c8982c95669a94e1cceb9d77e481aeefc7b61 Mon Sep 17 00:00:00 2001 From: alunny Date: Mon, 8 Oct 2012 15:09:42 -0700 Subject: [PATCH] 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 --- bin/create | 2 +- bin/create.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/create b/bin/create index e38dd0c5..71b912bb 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 diff --git a/bin/create.js b/bin/create.js index c6d05bb1..2d6b8d61 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)) {