components/tomcat-8/patches/build.properties.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Thu, 30 Apr 2015 04:31:45 -0700
changeset 4248 7b59b5b80fb0
parent 4151 components/tomcat/patches/build.properties.patch@5ddf681dc2fa
child 5149 651acf52b7a3
permissions -rw-r--r--
PSARC/2015/209 Tomcat 8 integration 20972466 Update Tomcat to version 8

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
@@ -87,6 +87,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}/../../
+
 # ----- Commons Logging, version 1.1 or later -----
 # If this version is updated, check the versions required for the dependencies below
 # - avalon-framework
@@ -142,7 +148,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
 
 # ---- NPN support