You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/06/09 08:53:30 UTC
[tomcat] branch 10.0.x updated: Backport fixes and additional version property replacement
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 57040f553f Backport fixes and additional version property replacement
57040f553f is described below
commit 57040f553feaba2b1eaa96144a95794448b7f2c6
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jun 9 09:53:24 2022 +0100
Backport fixes and additional version property replacement
---
BUILDING.txt | 8 ++++----
build.xml | 14 +++++++++++---
webapps/docs/building.xml | 12 ++++++------
webapps/docs/tomcat-docs.xsl | 3 +++
4 files changed, 24 insertions(+), 13 deletions(-)
diff --git a/BUILDING.txt b/BUILDING.txt
index 75482411fb..7e76be319c 100644
--- a/BUILDING.txt
+++ b/BUILDING.txt
@@ -20,8 +20,8 @@
====================================================
This project contains the source code for Tomcat @VERSION_MAJOR_MINOR@, a container that
-implements the Jakarta Servlet 5.0, JSP 3.0, EL 4.0, WebSocket 2.0 and
-Authentication 2.0 specifications from the Jakarta EE project at Eclipse
+implements the Jakarta Servlet @SERVLET_SPEC_VERSION@, JSP @JSP_SPEC_VERSION@, EL @EL_SPEC_VERSION@, WebSocket @WEBSOCKET_SPEC_VERSION@ and
+Authentication @JASPIC_SPEC_VERSION@ specifications from the Jakarta EE project at Eclipse
<https://jakarta.ee//>.
Note: If you just need to run Apache Tomcat, it is not necessary to build
@@ -65,9 +65,9 @@ source distribution, do the following:
into which you installed the JDK release.
-(2) Install Apache Ant version 1.9.10 or later on your computer.
+(2) Install Apache Ant version @ANT_VERSION_REQUIRED@ or later on your computer.
- 1. If Apache Ant version 1.9.10 or later is already installed on your
+ 1. If Apache Ant version @ANT_VERSION_REQUIRED@ or later is already installed on your
computer, skip to (3).
2. Download a binary distribution of Ant from:
diff --git a/build.xml b/build.xml
index 5a017d711d..2775b73fbc 100644
--- a/build.xml
+++ b/build.xml
@@ -47,6 +47,7 @@
<property name="project" value="apache-tomcat" />
<!-- Version numbers -->
+ <!-- Keep in sync with webapps/docs/tomcat-docs.xsl -->
<property name="version" value="${version.major}.${version.minor}.${version.build}${version.suffix}" />
<property name="version.number" value="${version.major}.${version.minor}.${version.build}.${version.patch}" />
<property name="version.major.minor" value="${version.major}.${version.minor}" />
@@ -102,6 +103,7 @@
<property name="tomcat.xreflect" value="${tomcat.output}/xreflect"/>
<!-- Jakarta EE 9 platform requires Java 8+ -->
+ <!-- Keep in sync with webapps/docs/tomcat-docs.xsl -->
<property name="compile.release" value="8"/>
<property name="min.java.version" value="8"/>
<property name="build.java.version" value="11"/>
@@ -259,6 +261,12 @@
<filter token="GIT_BRANCH" value="${git.branch}"/>
<filter token="MIN_JAVA_VERSION" value="${min.java.version}"/>
<filter token="BUILD_JAVA_VERSION" value="${build.java.version}"/>
+ <filter token="ANT_VERSION_REQUIRED" value="${ant.version.required}"/>
+ <filter token="SERVLET_SPEC_VERSION" value="${servlet.spec.version}"/>
+ <filter token="JSP_SPEC_VERSION" value="${jsp.spec.version}"/>
+ <filter token="EL_SPEC_VERSION" value="${el.spec.version}"/>
+ <filter token="WEBSOCKET_SPEC_VERSION" value="${websocket.spec.version}"/>
+ <filter token="JASPIC_SPEC_VERSION" value="${jaspic.spec.version}"/>
</filterset>
<!-- Files to change line endings for depending on target platform -->
@@ -2171,9 +2179,9 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
sourcepath="${tomcat.dist}/src/java"
destdir="${tomcat.dist}/webapps/docs/servletapi"
version="true"
- windowtitle="Servlet {servlet.spec.version} API Documentation - Apache Tomcat ${version}"
- doctitle="Servlet {servlet.spec.version} API - Apache Tomcat ${version}"
- header="<b>Servlet {servlet.spec.version} - Apache Tomcat ${version}</b>"
+ windowtitle="Servlet ${servlet.spec.version} API Documentation - Apache Tomcat ${version}"
+ doctitle="Servlet ${servlet.spec.version} API - Apache Tomcat ${version}"
+ header="<b>Servlet ${servlet.spec.version} - Apache Tomcat ${version}</b>"
bottom="Copyright &#169; 2000-${year} Apache Software Foundation. All Rights Reserved."
encoding="UTF-8"
docencoding="UTF-8"
diff --git a/webapps/docs/building.xml b/webapps/docs/building.xml
index 697ecbb5b3..d84e388e3e 100644
--- a/webapps/docs/building.xml
+++ b/webapps/docs/building.xml
@@ -43,10 +43,10 @@ The following is a quick step by step guide.
</section>
-<section name="Download a Java Development Kit (JDK) version 11 or later">
+<section name="Download a Java Development Kit (JDK)">
<p>
-Building Apache Tomcat requires a JDK (version 11) or later to be installed. You
+Building Apache Tomcat requires a JDK (version <build-java-version/>) or later to be installed. You
can download one from
<a href="https://adoptium.net/temurin/releases">https://adoptium.net/temurin/releases</a>
or another JDK vendor.
@@ -59,17 +59,17 @@ directory into which you installed the JDK release.
</section>
-<section name="Install Apache Ant 1.9.10 or later">
+<section name="Install Apache Ant">
<p>
-Download a binary distribution of Ant 1.9.10 or later from
+Download a binary distribution of Ant <ant-version-required/> or later from
<a href="https://ant.apache.org/bindownload.cgi">here</a>.
</p>
<p>
Unpack the binary distribution into a convenient location so that the
Ant release resides in its own directory (conventionally named
-<code>apache-ant-1.9.x</code>). For the remainder of this guide,
+<code>apache-ant-[version]</code>). For the remainder of this guide,
the symbolic name <code>${ant.home}</code> is used to refer to the full pathname of
the Ant installation directory.
</p>
@@ -91,7 +91,7 @@ available, which will be used to actually perform the build.
</p>
<p>
Tomcat source packages:
- <download>https://tomcat.apache.org/download-<version-major/>0.cgi</download>.
+ <download>https://tomcat.apache.org/download-<version-major/>.cgi</download>.
</p>
<p>
diff --git a/webapps/docs/tomcat-docs.xsl b/webapps/docs/tomcat-docs.xsl
index 8aa9e9d4ed..4b496aebe9 100644
--- a/webapps/docs/tomcat-docs.xsl
+++ b/webapps/docs/tomcat-docs.xsl
@@ -35,10 +35,13 @@
<xsl:param name="apache-logo" select="'/images/asf-logo.svg'"/>
<xsl:param name="subdir" select="''"/>
<xsl:param name="relative-path" select="'.'"/>
+ <!-- Keep versions in sync with build.xml -->
<xsl:param name="version" select="'10.0.x'"/>
<xsl:param name="majorversion" select="'10'"/>
<xsl:param name="majorminorversion" select="'10.0'"/>
<xsl:param name="minjavaversion" select="'8'"/>
+ <xsl:param name="buildjavaversion" select="'11'"/>
+ <xsl:param name="antversionrequired" select="'1.10.2'"/>
<xsl:param name="build-date" select="'MMM d yyyy'"/>
<xsl:param name="build-date-iso-8601" select="'yyyy-MM-dd'"/>
<xsl:param name="year" select="'yyyy'"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org