components/tomcat-8/patches/build.properties.patch
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Mon, 17 Apr 2017 16:05:36 -0700
changeset 7894 0c22900562ad
parent 6925 71a106abd05d
permissions -rw-r--r--
PSARC/2017/033 gstreamer 1.10.3 25689528 Update gstreamer to 1.10.3 25493221 problem in GNOME/MULTIMEDIA

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