You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by kr...@apache.org on 2011/10/17 11:06:11 UTC
svn commit: r1185045 - /db/derby/code/trunk/build.xml
Author: kristwaa
Date: Mon Oct 17 09:06:11 2011
New Revision: 1185045
URL: http://svn.apache.org/viewvc?rev=1185045&view=rev
Log:
DERBY-5458: Add ant target to generate JavaDocs bundle
Delete the existing bundle, otherwise the zip-operation fails.
Patch file: derby-5458-2a-delete_existing_bundle.diff
Modified:
db/derby/code/trunk/build.xml
Modified: db/derby/code/trunk/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/build.xml?rev=1185045&r1=1185044&r2=1185045&view=diff
==============================================================================
--- db/derby/code/trunk/build.xml (original)
+++ db/derby/code/trunk/build.xml Mon Oct 17 09:06:11 2011
@@ -1022,7 +1022,9 @@
pulling JavaDocs from continuous integration systems and build systems.
-->
<target name="javadoc-with-bundle" depends="javadoc">
- <zip destfile="${out.javadoc.dir}/javadocs.zip"
+ <property name="javadoc.bundle" value="${out.javadoc.dir}/javadocs.zip"/>
+ <delete file="${javadoc.bundle}" quiet="true"/>
+ <zip destfile="${javadoc.bundle}"
basedir="${out.javadoc.dir}"/>
</target>