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/12 17:44:36 UTC
svn commit: r1182444 - /db/derby/code/trunk/build.xml
Author: kristwaa
Date: Wed Oct 12 15:44:35 2011
New Revision: 1182444
URL: http://svn.apache.org/viewvc?rev=1182444&view=rev
Log:
DERBY-5458: Add ant target to generate JavaDocs bundle
Added target to build and zip up the JavaDocs (ant javadoc-with-bundle).
Patch file: derby-5458-1a-javadoc_with_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=1182444&r1=1182443&r2=1182444&view=diff
==============================================================================
--- db/derby/code/trunk/build.xml (original)
+++ db/derby/code/trunk/build.xml Wed Oct 12 15:44:35 2011
@@ -1017,6 +1017,15 @@
<property name="javadoc.exclusions" value="${javadoc.temp.dir}/javadoc_exclusions"/>
<property name="javadoc.inclusions" value="${javadoc.temp.dir}/javadoc_inclusions"/>
+ <!-- Helper target to build the JavaDocs and zip them up.
+ Introduced to achieve a higher degree of platform independence when
+ pulling JavaDocs from continuous integration systems and build systems.
+ -->
+ <target name="javadoc-with-bundle" depends="javadoc">
+ <zip destfile="${out.javadoc.dir}/javadocs.zip"
+ basedir="${out.javadoc.dir}"/>
+ </target>
+
<target
name="javadoc"
depends="init,initjars,publishedapi,derbydocs,toolsdocs,grammardocs,testingdocs"