ALT Linux repos
Group :: Development/Java
RPM: mysql-connector-java
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: mysql-connector-java-build_xml.patch
Download
Download
--- build.xml.sav 2006-10-20 00:17:29.000000000 +0200
+++ build.xml 2007-02-27 14:40:56.000000000 +0100
@@ -60,10 +60,6 @@
</path>
<path id="project.build.classpath">
- <fileset dir="${buildDir}/${fullProdName}/lib-nodist">
- <include name="**/*.jar"/>
- </fileset>
-
<fileset dir="${buildDir}/${fullProdName}/lib">
<include name="**/*.jar"/>
</fileset>
@@ -280,7 +276,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" />
@@ -1041,4 +1037,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>