incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tob...@apache.org
Subject svn commit: r416429 - in /incubator/lokahi/lokahi/trunk: build.properties build.xml
Date Thu, 22 Jun 2006 17:41:24 GMT
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">



Mime
View raw message