</copy>
</target>
+ <target name="javadoc" depends="prepare">
+ <javadoc sourcepath="${basedir}/java" destdir="${tomcat.api}" verbose="false"/>
+ <!-- connection pool API file-->
+ <jar jarfile="${tomcat-jdbc-api.jar}" update="true">
+ <fileset dir="${tomcat.api}"/>
+ </jar>
+ </target>
+
<target name="build" depends="prepare,download">
<mkdir dir="${tomcat.pool}"/>
<!-- compile org.apache.tomcat.jdbc-->
<include name="org/apache/tomcat/jdbc/**" />
</javac>
- <javadoc sourcepath="${basedir}/java" destdir="${tomcat.api}" verbose="false"/>
-
<!-- connection pool JAR File -->
<jar jarfile="${tomcat-jdbc.jar}" update="true">
<fileset dir="${tomcat.classes}">
<include name="org/apache/tomcat/jdbc/**" />
</fileset>
</jar>
-
- <!-- connection pool API file-->
- <jar jarfile="${tomcat-jdbc-api.jar}" update="true">
- <fileset dir="${tomcat.api}"/>
- </jar>
</target>
<target name="build-test" depends="prepare, build, download-test">
</xslt>
</target>
- <target name="dist" depends="clean, build, docs">
+ <target name="dist" depends="clean, build, docs, javadoc">
<property name="destdir" value="${tomcat.pool}/release/v${version}"/>
<mkdir dir="${destdir}"/>
<zip destfile="${destdir}/apache-tomcat-jdbc-${version}-bin.zip">