forked from pool/mysql-connector-java
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
--- build.xml
|
|
+++ build.xml
|
|
@@ -361,7 +361,7 @@
|
|
</if>
|
|
</target>
|
|
|
|
- <target name="dist" depends="init, compile">
|
|
+ <target name="dist" depends="init, compile, javadoc">
|
|
|
|
<delete file="${buildDir}/${fullProdName}-bin.jar" />
|
|
<delete file="${distDir}/${fullProdName}.jar" />
|
|
@@ -1175,4 +1175,22 @@
|
|
</sequential>
|
|
</for>
|
|
</target>
|
|
+ <target name="javadoc"
|
|
+ description="Creates the API documentation">
|
|
+ <mkdir dir="${buildDir}/javadoc"/>
|
|
+ <javadoc packagenames="com.mysql.jdbc.*,org.gjt.mm.mysql.*"
|
|
+ sourcepath="${sourceDir}"
|
|
+ destdir="${buildDir}/javadoc"
|
|
+ author="true"
|
|
+ version="true"
|
|
+ use="true"
|
|
+ splitindex="true"
|
|
+ noindex="false"
|
|
+ windowtitle="MySQL Connector/J v${version}"
|
|
+ doctitle="MySQL Connector/J v${version}<br>API Specification"
|
|
+ header="<b>MySQL Connector/J size='-1'>${version}</font></b>">
|
|
+ <classpath refid="project.build.classpath" />
|
|
+ </javadoc>
|
|
+ </target>
|
|
+
|
|
</project>
|