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
This commit is contained in:
alunny 2012-10-08 15:09:42 -07:00
parent a741c66c97
commit 4e0c8982c9
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)) {