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/01/26 17:05:32 UTC
[tomcat] 03/07: Reproducible builds: text files in JARs
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 25b07bd75c932907c8d011dd5afe244a0f8983d2
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Jan 24 11:13:33 2022 +0000
Reproducible builds: text files in JARs
---
build.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/build.xml b/build.xml
index c4ffbcb..534daf0 100644
--- a/build.xml
+++ b/build.xml
@@ -719,6 +719,16 @@
when loading the ResourceBundles -->
<native2ascii src="java" dest="${tomcat.classes}" includes="**/LocalStrings.properties,**/Messages*.properties" encoding="UTF-8"/>
<native2ascii src="java" dest="${tomcat.i18n}" includes="**/LocalStrings_*.properties" encoding="UTF-8"/>
+
+ <!-- Ensure consistent line-endings for reproducible builds -->
+ <fixcrlf srcdir="${tomcat.classes}" eol="lf"
+ encoding="UTF-8" fixlast="false" >
+ <patternset refid="text.files" />
+ </fixcrlf>
+ <fixcrlf srcdir="${tomcat.i18n}" eol="lf"
+ encoding="UTF-8" fixlast="false" >
+ <patternset refid="text.files" />
+ </fixcrlf>
</target>
<target name="build-manifests" unless="manifests.uptodate"
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org