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 b5d4931 Fix build fail when locale is not 'en' b5d4931 is described below commit b5d49310da55cc54802b87578ffbf4e40d1763b1 Author: Dachuan J <jpc00...@aliyun.com> AuthorDate: Tue Aug 10 14:28:16 2021 +0800 Fix build fail when locale is not 'en' --- build.xml | 16 ++++++++-------- modules/jdbc-pool/build.xml | 2 +- webapps/docs/changelog.xml | 8 ++++++++ 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/build.xml b/build.xml index 0edfa2c..1ce3b7f 100644 --- a/build.xml +++ b/build.xml @@ -271,7 +271,7 @@ <format property="today" pattern="MMM d yyyy" locale="en" timezone="UTC"/> <format property="today-iso-8601" pattern="yyyy-MM-dd" locale="en" timezone="UTC"/> <format property="tstamp" pattern="HH:mm:ss" locale="en" timezone="UTC"/> - <format property="tstamp.file" pattern="MM/dd/yyyy hh:mm:ss aa"/> + <format property="tstamp.file" pattern="yyyy-MM-dd HH:mm:ss"/> </tstamp> <filterset id="version.filters"> <filter token="YEAR" value="${year}"/> @@ -1812,7 +1812,7 @@ </fixcrlf> <!-- Reproducible builds: consistent timestamps for distributed files --> - <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <touch datetime="${tstamp.file}" pattern="yyyy-MM-dd HH:mm:ss"> <fileset dir="${tomcat.embed}"/> </touch> @@ -2585,7 +2585,7 @@ skip.installer property in build.properties" /> <patternset refid="text.files" /> </fixcrlf> <!-- Reproducible builds: consistent timestamps for installer files --> - <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <touch datetime="${tstamp.file}" pattern="yyyy-MM-dd HH:mm:ss"> <fileset dir="${tomcat.dist}"/> </touch> </target> @@ -2616,7 +2616,7 @@ skip.installer property in build.properties" /> <arg value="${tomcat.dist}/tempinstaller.exe" /> </exec> <!-- Reproducible builds: consistent timestamps for installer files --> - <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <touch datetime="${tstamp.file}" pattern="yyyy-MM-dd HH:mm:ss"> <fileset dir="${tomcat.dist}"/> </touch> </target> @@ -2851,7 +2851,7 @@ skip.installer property in build.properties" /> </fixcrlf> <!-- Reproducible builds: consistent timestamps for distributed files --> - <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <touch datetime="${tstamp.file}" pattern="yyyy-MM-dd HH:mm:ss"> <fileset dir="${tomcat.dist}"/> </touch> @@ -2904,7 +2904,7 @@ skip.installer property in build.properties" /> </fixcrlf> <!-- Reproducible builds: consistent timestamps for distributed files --> - <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <touch datetime="${tstamp.file}" pattern="yyyy-MM-dd HH:mm:ss"> <fileset dir="${tomcat.dist}"/> <fileset dir="${tomcat.deployer}"/> </touch> @@ -2933,7 +2933,7 @@ skip.installer property in build.properties" /> </fixcrlf> <!-- Reproducible builds: consistent timestamps for distributed files --> - <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <touch datetime="${tstamp.file}" pattern="yyyy-MM-dd HH:mm:ss"> <fileset dir="${tomcat.dist}"/> </touch> @@ -2985,7 +2985,7 @@ skip.installer property in build.properties" /> </fixcrlf> <!-- Reproducible builds: consistent timestamps for distributed files --> - <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <touch datetime="${tstamp.file}" pattern="yyyy-MM-dd HH:mm:ss"> <fileset dir="${tomcat.dist}"/> </touch> diff --git a/modules/jdbc-pool/build.xml b/modules/jdbc-pool/build.xml index 6d9f8bb..2feb3a4 100644 --- a/modules/jdbc-pool/build.xml +++ b/modules/jdbc-pool/build.xml @@ -86,7 +86,7 @@ <!-- Version info filter set --> <tstamp> - <format property="tstamp.file" pattern="MM/dd/yyyy hh:mm:ss aa"/> + <format property="tstamp.file" pattern="yyyy-MM-dd HH:mm:ss"/> </tstamp> <filterset id="version.filters"> <filter token="YEAR" value="${year}"/> diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 9d7a890..3823930 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -151,6 +151,14 @@ </fix> </changelog> </subsection> + <subsection name="Other"> + <changelog> + <fix> + Fix failing build when building on non-English locales. Pull request + <pr>441</pr> provided by Dachuan J. (markt) + </fix> + </changelog> + </subsection> </section> <section name="Tomcat 10.0.10 (markt)" rtext="2021-08-05"> <subsection name="Catalina"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org