diff options
author | SilverFox <yyjdelete@126.com> | 2016-04-08 13:18:59 +0800 |
---|---|---|
committer | SilverFox <yyjdelete@126.com> | 2016-04-08 13:18:59 +0800 |
commit | 924d8e3cb67d0b35cad3b9b35f3373db2e8feeb7 (patch) | |
tree | a230b8989c044611ecf310a95f7f77748b3ff9cb | |
parent | 2fca824e349f5fecbf71d940c4521644e92cb0dd (diff) | |
download | gitblit-924d8e3cb67d0b35cad3b9b35f3373db2e8feeb7.tar.gz gitblit-924d8e3cb67d0b35cad3b9b35f3373db2e8feeb7.zip |
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.
-rw-r--r-- | build.xml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"/>
|