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/29 17:05:31 UTC
[tomcat-native] branch main updated: Remove static file filtering as the static files have been removed
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
The following commit(s) were added to refs/heads/main by this push:
new 943d22321 Remove static file filtering as the static files have been removed
943d22321 is described below
commit 943d22321441dcaa9b4bfd2b26a1d5a8fcf11a93
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 | 78 ++++++++++++---------------------------------------------------
1 file changed, 14 insertions(+), 64 deletions(-)
diff --git a/build.xml b/build.xml
index a055ef21a..d0bce69aa 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,25 +40,23 @@
<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="docs.src" value="./xdocs"/>
+ <property name="docs.dest" value="${dist.root}/doc"/>
+ <property name="test.dir" value="${build.dest}/test"/>
- <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">
@@ -197,25 +195,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}"
@@ -226,13 +206,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>
<!-- ================================================================== -->
@@ -263,24 +236,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}"
@@ -291,12 +247,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