summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilverFox <yyjdelete@126.com>2016-04-08 13:18:59 +0800
committerSilverFox <yyjdelete@126.com>2016-04-08 13:18:59 +0800
commit924d8e3cb67d0b35cad3b9b35f3373db2e8feeb7 (patch)
treea230b8989c044611ecf310a95f7f77748b3ff9cb
parent2fca824e349f5fecbf71d940c4521644e92cb0dd (diff)
downloadgitblit-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.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 2edc853c..f3414d7f 100644
--- a/build.xml
+++ b/build.xml
@@ -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"/>