You are viewing a plain text version of this content. The canonical link for it is here.
Posted to lokahi-commits@incubator.apache.org by to...@apache.org on 2006/06/22 17:41:24 UTC

svn commit: r416429 - in /incubator/lokahi/lokahi/trunk: build.properties build.xml

Author: toback
Date: Thu Jun 22 10:41:24 2006
New Revision: 416429

URL: http://svn.apache.org/viewvc?rev=416429&view=rev
Log:
Added the ant task for generating javadocs.

Modified:
    incubator/lokahi/lokahi/trunk/build.properties
    incubator/lokahi/lokahi/trunk/build.xml

Modified: incubator/lokahi/lokahi/trunk/build.properties
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/build.properties?rev=416429&r1=416428&r2=416429&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/build.properties (original)
+++ incubator/lokahi/lokahi/trunk/build.properties Thu Jun 22 10:41:24 2006
@@ -1,4 +1,5 @@
 tomcat.home=/opt/tmc/tomcat5.5.9/
+java.home=/usr/local/java/jdk1.5.0_04/
 app.name=lokahi
 app.virtualhost.name=supernova:8058
 app.authenticationmodule=org.apache.lokahi.core.common.authentication.NoAuthentication

Modified: incubator/lokahi/lokahi/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/build.xml?rev=416429&r1=416428&r2=416429&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/build.xml (original)
+++ incubator/lokahi/lokahi/trunk/build.xml Thu Jun 22 10:41:24 2006
@@ -146,8 +146,25 @@
           <include name="junit.jar"/>
           <include name="xalan.jar"/>
         </fileset>
+        <fileset dir="${java.home}/lib">
+          <include name="tools.jar"/>
+        </fileset>
       </classpath>
     </javac>
+  </target>
+
+  <target name="javadoc" depends="init">
+    <mkdir dir="${app.src.doc}/javadocs"/>
+    <javadoc sourcepath="${app.src.java}" use="true" version="true" author="true" packagenames="org.apache.lokahi.*" destdir="${app.src.doc}/javadocs" >
+      <classpath>
+        <fileset refid="libs"/>
+        <fileset dir="${tomcat.common.lib}">
+          <include name="servlet-api.jar"/>
+          <include name="junit.jar"/>
+          <include name="xalan.jar"/>
+        </fileset>
+      </classpath>
+    </javadoc>
   </target>
 
   <target name="compile-test" depends="compile">