You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ie...@apache.org on 2020/07/03 09:03:33 UTC

[james-project] 30/34: JAMES-3225 #comment Force utf-8 file encoding on builds.a.o

This is an automated email from the ASF dual-hosted git repository.

ieugen pushed a commit to branch JAMES-3260-gradle-poc
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 05d091ded7e9b2bd6a203444dc7ff8357db24afe
Author: Eugen Stan <ie...@apache.org>
AuthorDate: Thu Jul 2 13:00:07 2020 +0300

    JAMES-3225 #comment Force utf-8 file encoding on builds.a.o
---
 mailet/standard/build.gradle | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mailet/standard/build.gradle b/mailet/standard/build.gradle
index c93e90b..93f7760 100644
--- a/mailet/standard/build.gradle
+++ b/mailet/standard/build.gradle
@@ -43,6 +43,8 @@ dependencies {
 
 test {
     useJUnitPlatform()
+    // StripAttachmentTest is dependent on system charset and needs UTF-8. builds.apache.org uses ISO-8859-1 .
+    systemProperty "file.encoding", "utf-8"
 }
 
 description = 'Apache James :: Standard Mailets'


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org