Author: jfrederic.clere(a)jboss.com
Date: 2014-03-07 09:08:29 -0500 (Fri, 07 Mar 2014)
New Revision: 3265
Modified:
trunk/build/unix/buildsrc.asf-jk.sh
Log:
Try the 2 locations and then the test (Mladen) one.
Modified: trunk/build/unix/buildsrc.asf-jk.sh
===================================================================
--- trunk/build/unix/buildsrc.asf-jk.sh 2014-03-07 10:02:19 UTC (rev 3264)
+++ trunk/build/unix/buildsrc.asf-jk.sh 2014-03-07 14:08:29 UTC (rev 3265)
@@ -42,8 +42,8 @@
#
http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2....
#URLBASE=http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-$1/tomcat-connectors-$1-src
URLBASE=http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat...
-#URLBASEBACK=http://ftp.heanet.ie/mirrors/www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-$1/tomcat-connectors-$1-src
-URLBASEBACK=http://people.apache.org/~mturk/tomcat-connectors/jk-$1/tomcat-connectors-$1-src
+URLBASEBACK=http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-$1/tomcat-connectors-$1-src
+URLBASETEST=http://people.apache.org/~mturk/tomcat-connectors/jk-$1/tomcat-connectors-$1-src
case $BUILD_SYS in
windows)
URL=${URLBASE}.zip
@@ -57,7 +57,10 @@
util/ckeckdownload.sh $build_cache_dir $package_src_dir $build_top
tomcat-connectors-${native_tag}-src $URL $URLBACK
if [ $? -ne 0 ]; then
- exit 1
+ util/ckeckdownload.sh $build_cache_dir $package_src_dir $build_top
tomcat-connectors-${native_tag}-src $URLBASETEST "NONE"
+ if [ $? -ne 0 ]; then
+ exit 1
+ fi
fi
#