2013년 6월 24일 월요일

javadoc - ant script

0. install JAutodoc eclipse plug-in
 - it helps you to auto generate javadoc comments

1. create javadoc in eclipse

2. run ant script
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="javadoc">
    <target name="javadoc">
        <javadoc package="java" access="package"
        additionalparam=" -encoding UTF-8 -charset UTF-8 -docencoding UTF-8"
        author="true"
        classpath="libraries.jar"
        destdir="doc"
        doctitle="title"
        nodeprecated="false"
        nodeprecatedlist="false"
        noindex="false"
        nonavbar="false"
        notree="false"
        packagenames="packagenames"
        source="1.6"
        sourcepath="src/main/java;"
        splitindex="true"
        use="true"
        version="true"/>
    </target>
</project>

3. then you can see your documents in the doc folder

댓글 없음:

댓글 쓰기