Browse Source

Specify encoding of javadoc to "utf-8"

That will fix build of javadoc in Windows zh-cn (and maybe some other locale).
Unknown why javac works well.
tags/v1.8.0
SilverFox 8 years ago
parent
commit
924d8e3cb6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      build.xml

+ 1
- 1
build.xml View File

@@ -433,7 +433,7 @@
</zip>
<!-- Build API JavaDoc jar -->
<mx:javadoc destdir="${javadoc.dir}" redirect="true">
<mx:javadoc destdir="${javadoc.dir}" charset="utf-8" encoding="utf-8" docencoding="utf-8" redirect="true">
<fileset dir="${project.src.dir}" defaultexcludes="yes">
<include name="com/gitblit/Constants.java"/>
<include name="com/gitblit/GitBlitException.java"/>

Loading…
Cancel
Save