Skip to content

Commit 1dade69

Browse files
Ensure javadoc is generated with a fixed locale (en_US)
Closes: #1667
1 parent 3a8677e commit 1dade69

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,6 +1319,7 @@ cd ..
13191319
<javadoc package="true"
13201320
windowtitle="JNA API"
13211321
encoding="UTF-8"
1322+
locale="en_US"
13221323
sourcepathref="javadoc.src.path"
13231324
classpathref="javadoc.compile.path"
13241325
maxmemory="256m"
@@ -1347,6 +1348,8 @@ cd ..
13471348
<group title="Platform Specific" packages="com.sun.jna.platform.*"/>
13481349

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

0 commit comments

Comments
 (0)