Updated Branches: refs/heads/master 887626689 -> adb1d9d12
Updated url to download jar Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/commit/adb1d9d1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/tree/adb1d9d1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/diff/adb1d9d1 Branch: refs/heads/master Commit: adb1d9d1240d8fc18499e06bd33bdcbe31da1d32 Parents: b7f7e43 Author: Tim Kim <tim....@nitobi.com> Authored: Wed Sep 19 15:04:39 2012 -0700 Committer: Tim Kim <tim....@nitobi.com> Committed: Wed Sep 19 15:04:39 2012 -0700 ---------------------------------------------------------------------- bin/create.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/adb1d9d1/bin/create.js ---------------------------------------------------------------------- diff --git a/bin/create.js b/bin/create.js index 396982f..da0dc31 100644 --- a/bin/create.js +++ b/bin/create.js @@ -44,8 +44,8 @@ function replaceInFile(filename, regexp, replacement) { } function downloadAntContrib(){ if (!fso.FileExists(ROOT + '\\bin\\templates\\project\\lib\\ant-contrib\\ant-contrib-1.0b3.jar')) { - // We need the .jar - var url = 'http://sourceforge.net/projects/ant-contrib/files/ant-contrib/1.0b3/ant-contrib-1.0b3-bin.zip'; + // We need the .jar - url is pretty ugly, but unsure how to get around the re-direct on the download page other than using the direct download link + var url = 'http://downloads.sourceforge.net/project/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3-bin.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fant-contrib%2Ffiles%2Fant-contrib%2F1.0b3%2F&ts=1348092193&use_mirror=voxel'; var libsPath = ROOT + '\\bin\\templates\\project\\lib'; var savePath = libsPath + '\\ant-contrib-1.0b3-bin.zip'; if (!fso.FileExists(savePath)) {