Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D713AD57D for ; Thu, 20 Sep 2012 21:00:43 +0000 (UTC) Received: (qmail 64701 invoked by uid 500); 20 Sep 2012 21:00:43 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 64638 invoked by uid 500); 20 Sep 2012 21:00:43 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 64630 invoked by uid 99); 20 Sep 2012 21:00:43 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2012 21:00:43 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 6FA173875B; Thu, 20 Sep 2012 21:00:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: timkim@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: webworks commit: [CB-1493] - updated links to use maven instead of sourceforge Message-Id: <20120920210043.6FA173875B@tyr.zones.apache.org> Date: Thu, 20 Sep 2012 21:00:43 +0000 (UTC) Updated Branches: refs/heads/master 533a6c5eb -> 000e28c94 [CB-1493] - updated links to use maven instead of sourceforge 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/000e28c9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/tree/000e28c9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/diff/000e28c9 Branch: refs/heads/master Commit: 000e28c94f1901f075508180129656e9bd185284 Parents: 533a6c5 Author: Tim Kim Authored: Thu Sep 20 14:00:36 2012 -0700 Committer: Tim Kim Committed: Thu Sep 20 14:00:36 2012 -0700 ---------------------------------------------------------------------- bin/create | 7 ++----- bin/create.js | 11 +++-------- 2 files changed, 5 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/000e28c9/bin/create ---------------------------------------------------------------------- diff --git a/bin/create b/bin/create index e29ce92..2599a68 100755 --- a/bin/create +++ b/bin/create @@ -70,12 +70,9 @@ then if [ ! -e "$BUILD_PATH"/bin/templates/project/lib/ant-contrib/ant-contrib-1.0b3.jar ]; then echo "Downloading ant-contrib" # Use curl to get the jar - curl -OL http://sourceforge.net/projects/ant-contrib/files/ant-contrib/1.0b3/ant-contrib-1.0b3-bin.zip &> /dev/null - unzip ant-contrib-1.0b3-bin.zip &> /dev/null + curl -OL http://central.maven.org/maven2/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar &> /dev/null mkdir -p "$BUILD_PATH"/bin/templates/project/lib/ant-contrib - cp ant-contrib/ant-contrib-1.0b3.jar "$BUILD_PATH"/bin/templates/project/lib/ant-contrib - # cleanup yo - rm ant-contrib-1.0b3-bin.zip && rm -rf ant-contrib + mv ant-contrib-1.0b3.jar "$BUILD_PATH"/bin/templates/project/lib/ant-contrib fi echo "Building cordova-$VERSION.jar and cordova-$VERSION.js ..." http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/000e28c9/bin/create.js ---------------------------------------------------------------------- diff --git a/bin/create.js b/bin/create.js index 1b823b7..8b5326d 100644 --- a/bin/create.js +++ b/bin/create.js @@ -45,9 +45,9 @@ 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://softlayer.dl.sourceforge.net/project/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3-bin.zip'; - var libsPath = ROOT + '\\bin\\templates\\project\\lib'; - var savePath = libsPath + '\\ant-contrib-1.0b3-bin.zip'; + var url = 'http://central.maven.org/maven2/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar'; + var libsPath = ROOT + '\\bin\\templates\\project\\lib\\ant-contrib'; + var savePath = libsPath + '\\ant-contrib-1.0b3.jar'; if (!fso.FileExists(savePath)) { if(!fso.FolderExists(libsPath)) { fso.CreateFolder(libsPath); @@ -72,11 +72,6 @@ function downloadAntContrib(){ var source = app.NameSpace(savePath).Items(); var target = app.NameSpace(libsPath); target.CopyHere(source, 256); - - // Clean up - fso.DeleteFile(libsPath + '\\ant-contrib-1.0b3-bin.zip'); - fso.DeleteFolder(libsPath + '\\ant-contrib\\docs', true); - fso.DeleteFolder(libsPath + '\\ant-contrib\\lib', true); } } function exec(s, output) {