Skip to content

Commit 4aa8155

Browse files
Merge pull request #1668 from matthiasblaesing/javadoc_locale
Ensure javadoc is generated with a fixed locale (en_US)
2 parents 45c4476 + 1dade69 commit 4aa8155

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.xml

+3
Original file line numberDiff line numberDiff line change
@@ -1321,6 +1321,7 @@ cd ..
13211321
<javadoc package="true"
13221322
windowtitle="JNA API"
13231323
encoding="UTF-8"
1324+
locale="en_US"
13241325
sourcepathref="javadoc.src.path"
13251326
classpathref="javadoc.compile.path"
13261327
maxmemory="256m"
@@ -1349,6 +1350,8 @@ cd ..
13491350
<group title="Platform Specific" packages="com.sun.jna.platform.*"/>
13501351

13511352
<arg value="-notimestamp"/>
1353+
<!-- force locale to be "en_US", as Javadoc tool ignores locale parameter for some texts -->
1354+
<arg line="-J-Duser.language=en -J-Duser.country=US"/>
13521355
</javadoc>
13531356
<!--
13541357
Create an empty resources/fonts/dejavu.css - the file is reference by default

0 commit comments

Comments
 (0)