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/07/06 10:58:16 UTC
[tomcat-native] branch 1.2.x updated (21d60f6de -> 01fdb6728)
This is an automated email from the ASF dual-hosted git repository.
markt pushed a change to branch 1.2.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
from 21d60f6de Remove code intended for pre Windows XP systems (2000, NT4, etc)
new 8f5076933 Remove unused file
new 69d276c1f Remove static file filtering as the static files have been removed
new 84cffb11f Ignore local build configuration
new 2c6327301 Use property for copyright year. Fix Javadoc after earlier clean-up
new c993c40f2 config.guess and config.sub are copied from APR
new 1ef358dc4 Add renegotiation info
new 6a4a2e948 Document the release process
new 01fdb6728 Update recommended OpenSSL version to 1.1.1q or later
The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitignore | 2 +
HOWTO-RELEASE.txt | 87 ++++++++++++++++++++++
TODO.txt | 21 ------
build.xml | 84 +++++----------------
java/org/apache/tomcat/apr.properties | 16 ----
native/srclib/VERSIONS | 2 +-
xdocs/miscellaneous/changelog.xml | 13 +++-
xdocs/miscellaneous/project.xml | 1 +
.../tls-renegotiation.xml} | 34 +++++----
xdocs/news/project.xml | 3 +-
xdocs/project.xml | 3 +-
11 files changed, 141 insertions(+), 125 deletions(-)
create mode 100644 HOWTO-RELEASE.txt
delete mode 100644 java/org/apache/tomcat/apr.properties
copy xdocs/{news/2019.xml => miscellaneous/tls-renegotiation.xml} (55%)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat-native] 01/08: Remove unused file
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 1.2.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
commit 8f50769335d8b66e2362ff9ab74a850e07d4091f
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jun 29 17:56:40 2022 +0100
Remove unused file
---
java/org/apache/tomcat/apr.properties | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/java/org/apache/tomcat/apr.properties b/java/org/apache/tomcat/apr.properties
deleted file mode 100644
index 4ac8c4492..000000000
--- a/java/org/apache/tomcat/apr.properties
+++ /dev/null
@@ -1,16 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-tcn.info=Tomcat Native/@VERSION@
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat-native] 06/08: Add renegotiation info
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 1.2.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
commit 1ef358dc498a85ffe767259a0ec2fee289c53951
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jun 30 08:35:50 2022 +0100
Add renegotiation info
---
TODO.txt | 14 ---------
xdocs/miscellaneous/changelog.xml | 7 ++---
xdocs/miscellaneous/project.xml | 1 +
xdocs/miscellaneous/tls-renegotiation.xml | 50 +++++++++++++++++++++++++++++++
xdocs/news/project.xml | 3 +-
xdocs/project.xml | 3 +-
6 files changed, 58 insertions(+), 20 deletions(-)
diff --git a/TODO.txt b/TODO.txt
index 2ca4e0ce9..a16c0521e 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -21,20 +21,6 @@
TODO
-SSL Renegotiation
------------------
-
-It is unclear to me, what the current state is. It looks like we support
-the unsafe legacy reneg whenever the OpenSSL used during build time
-supports it. There is no configuration option to switch it off during
-runtime. Right?
-
-Is it correct, that client initiated reneg is not supported and thus the
-known attacks will not work even with old OpenSSL?
-
-Should we add a remark about this topic to the docs?
-
-
Java Tests and Examples
-----------------------
diff --git a/xdocs/miscellaneous/changelog.xml b/xdocs/miscellaneous/changelog.xml
index f9e32c0f0..7a46cc2da 100644
--- a/xdocs/miscellaneous/changelog.xml
+++ b/xdocs/miscellaneous/changelog.xml
@@ -23,10 +23,6 @@
&project;
- <properties>
- <author email="jfclere@apache.org">Jean-Frederic Clere</author>
- </properties>
-
<body>
<section name="Preface">
@@ -36,6 +32,9 @@
</section>
<section name="Changes in 1.2.35">
<changelog>
+ <docs>
+ Document the TLS rengotiation behaviour. (markt)
+ </docs>
</changelog>
</section>
<section name="Changes in 1.2.34">
diff --git a/xdocs/miscellaneous/project.xml b/xdocs/miscellaneous/project.xml
index 2b97d89cb..1153ee1ea 100644
--- a/xdocs/miscellaneous/project.xml
+++ b/xdocs/miscellaneous/project.xml
@@ -31,6 +31,7 @@
<menu name="Miscellaneous Documentation">
<item name="Changelog" href="../miscellaneous/changelog.html"/>
+ <item name="TLS renegotiation" href="../miscellaneous/tls-renegotiation.html"/>
</menu>
<menu name="News">
diff --git a/xdocs/miscellaneous/tls-renegotiation.xml b/xdocs/miscellaneous/tls-renegotiation.xml
new file mode 100644
index 000000000..42904ec6d
--- /dev/null
+++ b/xdocs/miscellaneous/tls-renegotiation.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!DOCTYPE document [
+ <!ENTITY project SYSTEM "project.xml">
+]>
+<?xml-stylesheet type="application/xslt+xml" href="../style.xsl"?>
+<document url="tls-renegotiation.html">
+
+ &project;
+
+<body>
+
+<section name="Introduction">
+ <p>
+ Historically there have been security issues associated with TLS
+ renegotiation. This page describes the renegotiation behaviour of the Tomcat
+ Native library.
+ </p>
+</section>
+<section name="Client initiated renegotiation">
+ <p>
+ Client initiated renegotiation is disabled. This behaviour is hard-coded and
+ cannot be changed.
+ </p>
+</section>
+<section name="Unsafe legacy negotiation">
+ <p>
+ Support for unsafe legacy negotiation depends on OpenSSL. Unsafe legacy
+ renegotiation is disabled by default and will not be allowed unless the
+ OpenSSL configuration option
+ <code>SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION</code> is set.
+ </p>
+</section>
+</body>
+</document>
diff --git a/xdocs/news/project.xml b/xdocs/news/project.xml
index ecb969701..20c66baa0 100644
--- a/xdocs/news/project.xml
+++ b/xdocs/news/project.xml
@@ -30,7 +30,8 @@
</menu>
<menu name="Miscellaneous Documentation">
- <item name="Changelog" href="../miscellaneous/changelog.html"/>
+ <item name="Changelog" href="../miscellaneous/changelog.html"/>
+ <item name="TLS renegotiation" href="../miscellaneous/tls-renegotiation.html"/>
</menu>
<menu name="News">
diff --git a/xdocs/project.xml b/xdocs/project.xml
index c121f0c84..9184f9688 100644
--- a/xdocs/project.xml
+++ b/xdocs/project.xml
@@ -30,7 +30,8 @@
</menu>
<menu name="Miscellaneous Documentation">
- <item name="Changelog" href="miscellaneous/changelog.html"/>
+ <item name="Changelog" href="miscellaneous/changelog.html"/>
+ <item name="TLS renegotiation" href="miscellaneous/tls-renegotiation.html"/>
</menu>
<menu name="News">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat-native] 03/08: Ignore local build configuration
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 1.2.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
commit 84cffb11f674828dee5aac0b6e9077a680e033f6
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jun 15 10:43:09 2022 +0100
Ignore local build configuration
---
.gitignore | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.gitignore b/.gitignore
index 58107b33f..5239107b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,5 @@
**/*.lo
**/*.o
+
+build.properties
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat-native] 07/08: Document the release process
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 1.2.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
commit 6a4a2e94867ed28332d560000a06911841a8b8f3
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jun 30 09:24:15 2022 +0100
Document the release process
---
HOWTO-RELEASE.txt | 87 +++++++++++++++++++++++++++++++++++++++
TODO.txt | 2 -
xdocs/miscellaneous/changelog.xml | 3 ++
3 files changed, 90 insertions(+), 2 deletions(-)
diff --git a/HOWTO-RELEASE.txt b/HOWTO-RELEASE.txt
new file mode 100644
index 000000000..b88349c8c
--- /dev/null
+++ b/HOWTO-RELEASE.txt
@@ -0,0 +1,87 @@
+================================================================================
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+================================================================================
+
+How to do a Tomcat Native release
+=================================
+
+Requirements
+------------
+
+Java 8
+Apache Ant 1.9 or later
+Apache APR 1.4.3 or later source (1.7.0 or later recommended)
+
+
+Preparation
+-----------
+
+Review the open issues in Bugzilla.
+Review open PRs in GitHub.
+
+If you haven't already, add your public PGP key to KEYS.
+
+Ensure dates and/or version numbers are up to date:
+- build.properties.default
+- native/build/rpm/tcnative.spec.in
+- native/include/tcn_version.h
+- native/os/win32/libtcnative.rc
+- xdocs/miscellaneous/changelog.xml
+
+Run the release script to check the Java code is aligned with the current 9.0.x
+source.
+./jnirelease.sh --ver=1.2.x --with-apr=/path/to/apr/source
+
+Switch back to the main branch
+git checkout main
+
+Tagging
+-------
+
+# Check clone is up to date and clean
+git pull
+git status
+
+# Edit files to remove / disable dev build flags
+# - build.properties.default
+# - tcn_version.h
+
+# Confirm the previous edits
+git diff
+
+# Tag (modify version as appropriate)
+git commit -a -m "Tag 1.2.35"
+git tag 1.2.35
+git push origin 1.2.35
+
+# Reset main
+git reset --hard HEAD~1
+
+
+Create the source release
+-------------------------
+
+# Modify version as appropriate
+./jnirelease.sh --ver=1.2.35 --with-apr=/path/to/apr/source
+
+# Switch back to the main branch
+git checkout main
+
+
+Create the binary release for Windows
+-------------------------------------
+
+See native/building
diff --git a/TODO.txt b/TODO.txt
index a16c0521e..ea9c62915 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -50,8 +50,6 @@ I think they have no other home.
Releasing
---------
-- Document how to release.
-
- ZIP download seems to have group write permissions set
(at least after I extract it on Solaris).
It's a bit strange that permissions differ between the
diff --git a/xdocs/miscellaneous/changelog.xml b/xdocs/miscellaneous/changelog.xml
index 7a46cc2da..d704adda5 100644
--- a/xdocs/miscellaneous/changelog.xml
+++ b/xdocs/miscellaneous/changelog.xml
@@ -35,6 +35,9 @@
<docs>
Document the TLS rengotiation behaviour. (markt)
</docs>
+ <docs>
+ Add HOWTO-RELEASE.txt that describes the release process. (markt)
+ </docs>
</changelog>
</section>
<section name="Changes in 1.2.34">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat-native] 08/08: Update recommended OpenSSL version to 1.1.1q or later
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 1.2.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
commit 01fdb6728f9c2ab16a507350a0239ad806bdff6e
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jul 6 11:55:07 2022 +0100
Update recommended OpenSSL version to 1.1.1q or later
---
native/srclib/VERSIONS | 2 +-
xdocs/miscellaneous/changelog.xml | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/native/srclib/VERSIONS b/native/srclib/VERSIONS
index 32686396b..4fb768ffa 100644
--- a/native/srclib/VERSIONS
+++ b/native/srclib/VERSIONS
@@ -5,7 +5,7 @@ The current minimum versions are:
The following version of the libraries are recommended:
- APR 1.7.0 or later, http://apr.apache.org
-- OpenSSL 1.1.1o or later, http://www.openssl.org
+- OpenSSL 1.1.1q or later, http://www.openssl.org
Older versions should also work but are not as thoroughly tested by the Tomcat
Native team
diff --git a/xdocs/miscellaneous/changelog.xml b/xdocs/miscellaneous/changelog.xml
index d704adda5..ea11989c6 100644
--- a/xdocs/miscellaneous/changelog.xml
+++ b/xdocs/miscellaneous/changelog.xml
@@ -38,6 +38,9 @@
<docs>
Add HOWTO-RELEASE.txt that describes the release process. (markt)
</docs>
+ <update>
+ Update recommended OpenSSL version to 1.1.1q or later. (markt)
+ </update>
</changelog>
</section>
<section name="Changes in 1.2.34">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat-native] 04/08: Use property for copyright year. Fix Javadoc after earlier clean-up
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 1.2.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
commit 2c6327301f96b0d295fdd9784b824f6e9a917dcb
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jun 29 18:10:30 2022 +0100
Use property for copyright year. Fix Javadoc after earlier clean-up
---
build.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.xml b/build.xml
index daeb4cc5b..afd1dfad4 100644
--- a/build.xml
+++ b/build.xml
@@ -164,7 +164,7 @@
<target name="javadocs" description="Java documentation">
<mkdir dir="${docs.dest}"/>
<mkdir dir="${docs.dest}/api"/>
- <javadoc sourcepath="${build.src}/java"
+ <javadoc sourcepath="${src.dir}/java"
destdir="${docs.dest}/api"
author="true"
version="true"
@@ -172,7 +172,7 @@
packagenames="org.apache.tomcat.*"
windowtitle="${title} (Version ${version})"
doctitle="<h1>${title} (Version ${version})</h1>"
- bottom="Copyright 2002-2020 The Apache Software Foundation.<!--
+ bottom="Copyright 2002-${year} The Apache Software Foundation.<!--
Licensed under the Apache License, Version 2.0 (the 'License');
you may not use this file except in compliance with the License.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat-native] 05/08: config.guess and config.sub are copied from APR
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 1.2.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
commit c993c40f26291e0f69513f5bcac7e2df81dbb14a
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jun 29 18:31:31 2022 +0100
config.guess and config.sub are copied from APR
---
TODO.txt | 5 -----
1 file changed, 5 deletions(-)
diff --git a/TODO.txt b/TODO.txt
index 36660a190..2ca4e0ce9 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -66,11 +66,6 @@ Releasing
- Document how to release.
-- Add info about updating config.guess and config.sub from
-
-http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
-http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
-
- ZIP download seems to have group write permissions set
(at least after I extract it on Solaris).
It's a bit strange that permissions differ between the
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat-native] 02/08: Remove static file filtering as the static files have been removed
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 1.2.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
commit 69d276c1f9a02064f611865407b233c7d4b57c7d
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jun 29 18:05:25 2022 +0100
Remove static file filtering as the static files have been removed
---
build.xml | 80 ++++++++++++---------------------------------------------------
1 file changed, 15 insertions(+), 65 deletions(-)
diff --git a/build.xml b/build.xml
index 19da1f138..daeb4cc5b 100644
--- a/build.xml
+++ b/build.xml
@@ -18,7 +18,7 @@
<!-- Build file for Tomcat Native -->
<project name="Tomcat Native" default="compile" basedir=".">
<!-- Give user a chance to override without editing this file
- (and without typing -D each time it compiles it
+ (and without typing -D each time it compiles it)
-->
<property file="${user.home}/.ant.properties" />
<property file="${user.home}/build.properties" />
@@ -40,26 +40,24 @@
<property name="final.name" value="${project}-${version}" />
- <property name="build.dir" value="./dist"/>
- <property name="build.src" value="${build.dir}/src"/>
- <property name="build.dest" value="${build.dir}/classes"/>
- <property name="src.dir" value="."/>
- <property name="dist.root" value="./dist"/>
- <property name="ant.home" value="."/>
+ <property name="build.dir" value="./dist"/>
+ <property name="build.dest" value="${build.dir}/classes"/>
+ <property name="src.dir" value="."/>
+ <property name="dist.root" value="./dist"/>
+ <property name="ant.home" value="."/>
- <property name="docs.src" value="./xdocs"/>
- <property name="docs.dest" value="${dist.root}/doc"/>
- <property name="docs.dest.print" value="${dist.root}/doc/printable"/>
- <property name="test.dir" value="${build.dest}/test"/>
- <property name="examples.dir" value="${build.dest}/examples"/>
+ <property name="docs.src" value="./xdocs"/>
+ <property name="docs.dest" value="${dist.root}/doc"/>
+ <property name="test.dir" value="${build.dest}/test"/>
+ <property name="examples.dir" value="${build.dest}/examples"/>
- <property name="tc.library.path" value="${basedir}/native/.libs"/>
+ <property name="tc.library.path" value="${basedir}/native/.libs"/>
<!-- The base directory for component sources -->
- <property name="source.home" value="java"/>
+ <property name="source.home" value="java"/>
<!-- Tests To Run -->
- <property name="test.name" value="**/Test*.java"/>
+ <property name="test.name" value="**/Test*.java"/>
<!-- Build classpath -->
<path id="classpath">
@@ -204,25 +202,7 @@ limitations under the License.-->">
<target name="compile" depends="prepare" description="Compile Java sources">
<mkdir dir="${build.dest}"/>
<mkdir dir="${build.dest}/java"/>
- <mkdir dir="${build.src}"/>
- <mkdir dir="${build.src}/java"/>
- <tstamp>
- <format property="TODAY" pattern="MMM d yyyy" locale="en"/>
- <format property="TSTAMP" pattern="hh:mm:ss"/>
- </tstamp>
- <!-- Copy static resource files -->
- <filter token="VERSION" value="${version}"/>
- <filter token="VERSION_NUMBER" value="${version.number}"/>
- <filter token="VERSION_BUILT" value="${TODAY} ${TSTAMP}"/>
- <copy todir="${build.src}/java" filtering="yes" encoding="ISO-8859-1">
- <fileset dir="${src.dir}/java">
- <include name="**/*.java"/>
- <include name="**/*.xml"/>
- <include name="**/*.properties"/>
- </fileset>
- </copy>
-
- <javac srcdir="${build.src}/java"
+ <javac srcdir="${src.dir}/java"
destdir="${build.dest}/java"
source="${compile.source}"
target="${compile.target}"
@@ -233,13 +213,6 @@ limitations under the License.-->">
includeantruntime="false">
<classpath refid="classpath"/>
</javac>
-
- <copy todir="${build.dest}/java" filtering="yes" encoding="ISO-8859-1">
- <fileset dir="${build.src}/java">
- <include name="**/*.xml"/>
- <include name="**/*.properties"/>
- </fileset>
- </copy>
</target>
<!-- ================================================================== -->
@@ -270,24 +243,7 @@ limitations under the License.-->">
<target name="compile-tests" depends="compile" description="Compile Java test classes">
<mkdir dir="${build.dest}"/>
<mkdir dir="${build.dest}/test"/>
- <mkdir dir="${build.src}"/>
- <mkdir dir="${build.src}/test"/>
- <tstamp>
- <format property="TODAY" pattern="MMM d yyyy" locale="en"/>
- <format property="TSTAMP" pattern="hh:mm:ss"/>
- </tstamp>
- <!-- Copy static resource files -->
- <filter token="VERSION" value="${version}"/>
- <filter token="VERSION_NUMBER" value="${version.number}"/>
- <filter token="VERSION_BUILT" value="${TODAY} ${TSTAMP}"/>
- <copy todir="${build.src}/test" filtering="yes" encoding="ISO-8859-1">
- <fileset dir="${src.dir}/test">
- <include name="**/*.java"/>
- <include name="**/*.xml"/>
- <include name="**/*.properties"/>
- </fileset>
- </copy>
- <javac srcdir="${build.src}/test"
+ <javac srcdir="${src.dir}/test"
destdir="${build.dest}/test"
source="${compile.source}"
target="${compile.target}"
@@ -298,12 +254,6 @@ limitations under the License.-->">
includeantruntime="false">
<classpath refid="test.classpath"/>
</javac>
- <copy todir="${build.dest}/test" filtering="yes" encoding="ISO-8859-1">
- <fileset dir="${build.src}/test">
- <include name="**/*.xml"/>
- <include name="**/*.properties"/>
- </fileset>
- </copy>
</target>
<!-- =================================================================== -->
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org