<mkdir dir="${tomcat.build}/webapps/docs/funcspecs" />
<!-- XSL processing -->
- <copy tofile="webapps/docs/jdbc-pool.xml" file="${tomcat.jdbc.dir}/doc/jdbc-pool.xml" overwrite="true">
+ <copy tofile="webapps/docs/jdbc-pool.xml" file="${tomcat.jdbc.dir}/doc/jdbc-pool.xml">
<!-- jdbc-pool documentation -->
<filterset>
<filter token="TOMCAT_PROJECT_DEST" value="project.xml"/>
<param name="build-date" expression="${today}"/>
<param name="year" expression="${year}"/>
</xslt>
- <!-- remove jdbc-pool documentation -->
- <delete file="webapps/docs/jdbc-pool.xml"/>
<xslt basedir="webapps/docs/appdev"
destdir="${tomcat.build}/webapps/docs/appdev"
extension=".html"
<!-- build the jdbc-pool jar and source jar-->
<echo message="Building Tomcat JDBC pool libraries"/>
- <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}" inheritall="false" target="clean-and-build">
+ <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}" inheritall="false" target="build">
<property name="tomcat.juli.jar" value="${tomcat-juli.jar}"></property>
<property name="skip.download" value="set"/>
</ant>
- <copy file="${tomcat-jdbc.jar}" todir="${tomcat.build}/lib" overwrite="true"/>
+ <copy file="${tomcat-jdbc.jar}" todir="${tomcat.build}/lib"/>
</target>
<delete dir="${tomcat.output}" />
<!-- Remove the copied catalina.properties -->
<delete file="java/org/apache/catalina/startup/catalina.properties" />
+ <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}" inheritall="false" target="clean">
+ </ant>
+ <!-- remove jdbc-pool documentation -->
+ <delete file="webapps/docs/jdbc-pool.xml"/>
</target>