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.git


The following commit(s) were added to refs/heads/main by this push:
     new 8ae3c81f09 Allow reproducible builds of all JDBC JAR files
8ae3c81f09 is described below

commit 8ae3c81f091f8bc99b72d2b15ea5126ad6fb4988
Author: John Neffenger <j...@status6.com>
AuthorDate: Sat Nov 12 18:05:24 2022 -0800

    Allow reproducible builds of all JDBC JAR files
---
 modules/jdbc-pool/build.xml | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/modules/jdbc-pool/build.xml b/modules/jdbc-pool/build.xml
index 8b387af62a..da4f801221 100644
--- a/modules/jdbc-pool/build.xml
+++ b/modules/jdbc-pool/build.xml
@@ -185,7 +185,9 @@
 
   <target name="build-src">
     <!-- connection pool source file-->
-    <jar jarfile="${tomcat-jdbc-src.jar}" update="true">
+    <jar jarfile="${tomcat-jdbc-src.jar}"
+         update="true"
+         modificationtime="${tstamp.file}">
       <fileset dir="${basedir}/src/main/java">
         <include name="org/apache/tomcat/jdbc/**" />
       </fileset>
@@ -207,7 +209,9 @@
       <include name="org/apache/tomcat/jdbc/**" />
     </javac>
     <!-- connection pool JAR File -->
-    <jar jarfile="${tomcat-jdbc-test.jar}" update="true">
+    <jar jarfile="${tomcat-jdbc-test.jar}"
+         update="true"
+         modificationtime="${tstamp.file}">
       <fileset dir="${tomcat.testclasses}">
         <include name="org/apache/tomcat/jdbc/**" />
       </fileset>
@@ -216,7 +220,9 @@
       </fileset>
       <fileset refid="license.notice"/>
     </jar>
-    <jar jarfile="${tomcat-jdbc-test-src.jar}" update="true">
+    <jar jarfile="${tomcat-jdbc-test-src.jar}"
+         update="true"
+         modificationtime="${tstamp.file}">
       <fileset dir="${basedir}/src/test/java">
         <include name="org/apache/tomcat/jdbc/**" />
       </fileset>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to