build.xml
changeset 3794 0ace4de08524
parent 3752 99f93189fbad
child 3808 30cce2fd1ddd
--- a/build.xml	Sun May 03 22:10:02 2009 -0400
+++ b/build.xml	Mon May 04 11:15:38 2009 +0200
@@ -72,6 +72,7 @@
 
   <property name="base.config" location="config" />
   <property name="base.src" location="src" />
+  <property name="base.src.test" location="src-test" />
   <property name="base.src.core" location="src-core" />
   <property name="base.src.db" location="src-db" />
   <property name="base.src.trl" location="src-trl" />
@@ -356,6 +357,15 @@
     <ant dir="${base.src}" target="compile.src.gen" inheritAll="true" inheritRefs="true" />
   </target>
 
+  <target name="generate.java.doc">
+    <javadoc sourcepath="${base.src}:${base.src.test}:${base.src.gen}" Windowtitle="Openbravo ERP 2.50" access="public" Header="Openbravo ERP 2.50" Footer="Openbravo ERP 2.50" destdir="${build.docs}" maxmemory="${build.maxmemory}">
+      <classpath>
+        <path refid="project.class.path"/>
+        <pathelement path="lib/build/js.jar" />
+      </classpath>
+    </javadoc>
+  </target>
+
   <target name="generate.entities">
     <ant dir="${base.src}" target="generate.entities" inheritAll="true" inheritRefs="true" />
   </target>