db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1185045 - /db/derby/code/trunk/build.xml
Date Mon, 17 Oct 2011 09:06:11 GMT
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>
 



Mime
View raw message