From 855e88ac5037c6004b03640c42c257595b93223c Mon Sep 17 00:00:00 2001 From: mturk Date: Mon, 14 Jul 2008 08:36:41 +0000 Subject: [PATCH] Use tomcat native from ASF repository instead downloading at install time from tomcat.heanet.ie git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@676510 13f79535-47bb-0310-9956-ffa450edef68 --- build.properties.default | 6 ++++-- build.xml | 12 ++++++++++++ dist.xml | 3 +++ res/tomcat.nsi | 14 +++----------- 4 files changed, 22 insertions(+), 13 deletions(-) diff --git a/build.properties.default b/build.properties.default index 0c0c18518..096ba49c3 100644 --- a/build.properties.default +++ b/build.properties.default @@ -62,9 +62,11 @@ jdt.jar=${jdt.lib}/org.eclipse.jdt.core_3.3.1.v_780_R33x.jar jdt.loc=http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.3.1-200709211145/eclipse-JDT-3.3.1.zip # ----- Tomcat native library ----- -tomcat-native.home=${base.path}/tomcat-native-1.1.12 +tomcat-native.version=1.1.14 +tomcat-native.home=${base.path}/tomcat-native-${tomcat-native.version} tomcat-native.tar.gz=${tomcat-native.home}/tomcat-native.tar.gz -tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/tomcat-native-1.1.12-src.tar.gz +tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/tomcat-native-${tomcat-native.version}-src.tar.gz +tomcat-native.dll=${base-tomcat.loc}/tomcat-connectors/native/${tomcat-native.version}/binaries # ----- Commons DBCP, version 1.1 or later ----- commons-dbcp.version=1.2.2 diff --git a/build.xml b/build.xml index b3a107280..0a100dc30 100644 --- a/build.xml +++ b/build.xml @@ -610,6 +610,18 @@ + + + + + + + + + + + + diff --git a/dist.xml b/dist.xml index 878200c17..c59fb043c 100644 --- a/dist.xml +++ b/dist.xml @@ -449,6 +449,8 @@ tofile="${tomcat.dist}/bin/tomcat6.exe" /> + @@ -470,6 +472,7 @@ forceOverwrite="yes" fileext=".md5" /> + diff --git a/res/tomcat.nsi b/res/tomcat.nsi index c69283ece..c70263c65 100644 --- a/res/tomcat.nsi +++ b/res/tomcat.nsi @@ -95,7 +95,7 @@ ${StrRep} LangString DESC_SecTomcat ${LANG_ENGLISH} "Install the Tomcat Servlet container." LangString DESC_SecTomcatCore ${LANG_ENGLISH} "Install the Tomcat Servlet container core." LangString DESC_SecTomcatService ${LANG_ENGLISH} "Automatically start Tomcat when the computer is started. This requires Windows NT 4.0, Windows 2000 or Windows XP." - LangString DESC_SecTomcatNative ${LANG_ENGLISH} "Downloads and installs APR based Tomcat native .dll for better performance and scalability in production environments." + LangString DESC_SecTomcatNative ${LANG_ENGLISH} "Install APR based Tomcat native .dll for better performance and scalability in production environments." LangString DESC_SecMenu ${LANG_ENGLISH} "Create a Start Menu program group for Tomcat." LangString DESC_SecDocs ${LANG_ENGLISH} "Install the Tomcat documentation bundle. This include documentation on the servlet container and its configuration options, on the Jasper JSP page compiler, as well as on the native webserver connectors." LangString DESC_SecExamples ${LANG_ENGLISH} "Installs some examples web applications." @@ -209,16 +209,8 @@ Section "Native" SecTomcatNative SectionIn 3 - ; tcnative-1.dll is a symlink to the tcnative-1-ipv4.dll - ; If IPV6 support is required, download the tcnative-1-ipv6.dll insted - ; The tcnative-1.dll from heanet.ie comes with APR 1.2.8 and OpenSSL 0.9.8e compiled in. - ; TODO: Depending on the JVM download the 32 or 64 bit version. - NSISdl::download /TIMEOUT=30000 http://tomcat.heanet.ie/native/1.1.10/binaries/win32/tcnative-1.dll $INSTDIR\bin\tcnative-1.dll - Pop $0 - StrCmp $0 success success - SetDetailsView show - DetailPrint "download failed from http://tomcat.heanet.ie/native/1.1.10/binaries/win32/tcnative-1.dll: $0" - success: + SetOutPath $INSTDIR\bin + File bin\tcnative-1.dll ClearErrors -- 2.11.0