You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by th...@apache.org on 2008/03/13 23:59:06 UTC

svn commit: r636913 - in /labs/droids/trunk: build.xml default.properties

Author: thorsten
Date: Thu Mar 13 15:58:58 2008
New Revision: 636913

URL: http://svn.apache.org/viewvc?rev=636913&view=rev
Log:
Adding javadoc target

Modified:
    labs/droids/trunk/build.xml
    labs/droids/trunk/default.properties

Modified: labs/droids/trunk/build.xml
URL: http://svn.apache.org/viewvc/labs/droids/trunk/build.xml?rev=636913&r1=636912&r2=636913&view=diff
==============================================================================
--- labs/droids/trunk/build.xml (original)
+++ labs/droids/trunk/build.xml Thu Mar 13 15:58:58 2008
@@ -108,6 +108,24 @@
       </manifest>
     </jar>
   </target>
+
+  <target name="droids.javadoc" depends="droids.compile-core"
+    description="--> Documentation javadocs">
+    <mkdir dir="${build.javadoc}"/>
+    <javadoc overview="${src.dir.core}/overview.html" destdir="${build.javadoc}"
+      author="true" version="true" use="true" windowtitle="${Name} ${version} API"
+      doctitle="${Name} ${version} API"
+      bottom="Copyright &amp;copy; ${year} The Apache Software Foundation">
+      <arg value="${javadoc.proxy.host}"/>
+      <arg value="${javadoc.proxy.port}"/>
+      
+      <packageset dir="${src.dir.core}"/>
+      <link href="${javadoc.link.java}"/>
+      
+      <classpath refid="droids.classpath"/>
+      <group title="Core" packages="org.apache.droids.*"/>
+    </javadoc>
+  </target>
   
   <!-- Retro to 1.4 - if you want to use droids in your 1.4 based project
     HEADSUP: you need following dependencies as well in your 1.4 based project:  

Modified: labs/droids/trunk/default.properties
URL: http://svn.apache.org/viewvc/labs/droids/trunk/default.properties?rev=636913&r1=636912&r2=636913&view=diff
==============================================================================
--- labs/droids/trunk/default.properties (original)
+++ labs/droids/trunk/default.properties Thu Mar 13 15:58:58 2008
@@ -83,3 +83,9 @@
 javac.optimize=on
 javac.deprecation=off
 javac.version= 1.5
+
+# Proxy Host and Port to use for building JavaDoc
+javadoc.proxy.host=-J-DproxyHost=
+javadoc.proxy.port=-J-DproxyPort=
+javadoc.link.java=http://java.sun.com/j2se/1.4.2/docs/api/
+javadoc.packages=org.apache.droids.*



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org