You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by to...@apache.org on 2019/04/21 12:29:01 UTC
[lucene-solr] branch master updated: LUCENE-8738: Force locale to
be 'en_US' in javadocs task.
This is an automated email from the ASF dual-hosted git repository.
tomoko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/master by this push:
new 1204327 LUCENE-8738: Force locale to be 'en_US' in javadocs task.
1204327 is described below
commit 1204327b56b114d980ad2ca4706c43e01faff6d9
Author: Tomoko Uchida <to...@apache.org>
AuthorDate: Sun Apr 21 21:28:14 2019 +0900
LUCENE-8738: Force locale to be 'en_US' in javadocs task.
---
lucene/common-build.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index d1d0d7f..1f542fa 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -2131,6 +2131,8 @@ ${ant.project.name}.test.dependencies=${test.classpath.list}
<classpath refid="javadoc.classpath"/>
<arg line="--no-module-directories --release ${javac.release}"/>
<arg line="${javadoc.doclint.args}"/>
+ <!-- force locale to be "en_US", as Javadoc tool ignores locale parameter (in some cases) -->
+ <arg line="-J-Duser.language=en -J-Duser.country=US"/>
</javadoc>
<record name="@{destdir}/log_javadoc.txt" action="stop"/>