db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1182444 - /db/derby/code/trunk/build.xml
Date Wed, 12 Oct 2011 15:44:36 GMT
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"



Mime
View raw message