components/tomcat-8/patches/build.properties.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Thu, 06 Oct 2016 04:24:56 -0700
branchs11u3-sru
changeset 7088 ad1364987701
parent 6483 ee6fa154236b
permissions -rw-r--r--
24596166 Upgrade Apache Tomcat to version 8.5.5 24311971 problem in UTILITY/TOMCAT

Patch origin: in-house
Patch status: Solaris-specific; not suitable for upstream

Redirects build process to use local archives instead of downloading
from external webs.

--- build.properties.default
+++ build.properties.default
@@ -95,6 +95,12 @@
 # Mirror, was used when there were problems with the main SF downloads site
 # base-sf.loc=http://sunet.dl.sourceforge.net
 
+# In Userland we really don't want Tomcat to download its build
+# dependencies itself but instead we will do it ourself in advance.
+# Therefore those dependencies which are really required need to be
+# redirected to local file system.
+userland-files.loc=file://${base.path}/../../
+
 # ----- Webservices - JAX RPC -----
 jaxrpc-lib.version=1.1-rc4
 jaxrpc-lib.home=${base.path}/jaxrpc-${jaxrpc-lib.version}
@@ -114,7 +120,7 @@
 jdt.home=${base.path}/ecj-${jdt.version}
 jdt.jar=${jdt.home}/ecj-${jdt.version}.jar
 # The download will be moved to the archive area eventually. We are taking care of that in advance.
-jdt.loc.1=http://archive.eclipse.org/eclipse/downloads/drops4/${jdt.release}/ecj-${jdt.version}.jar
+jdt.loc.1=file://${base.path}/ECJ/ecj.jar
 jdt.loc.2=http://download.eclipse.org/eclipse/downloads/drops4/${jdt.release}/ecj-${jdt.version}.jar
 
 # ----- Tomcat native library -----