You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/02/21 22:13:55 UTC

svn commit: r154722 - lenya/trunk/src/targets/docs-build.xml

Author: gregor
Date: Mon Feb 21 13:13:54 2005
New Revision: 154722

URL: http://svn.apache.org/viewcvs?view=rev&rev=154722
Log:
Updated javadocs task to use breakiterator and set complete classpath so that javadoc can see ant.

Modified:
    lenya/trunk/src/targets/docs-build.xml

Modified: lenya/trunk/src/targets/docs-build.xml
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/targets/docs-build.xml?view=diff&r1=154721&r2=154722
==============================================================================
--- lenya/trunk/src/targets/docs-build.xml (original)
+++ lenya/trunk/src/targets/docs-build.xml Mon Feb 21 13:13:54 2005
@@ -56,12 +56,27 @@
              version="true"
              use="false"
              noindex="true"
+             breakiterator="true"
              windowtitle="${Name} API - Version ${version}"
              doctitle="${Name}"
              bottom="Copyright © ${year} Apache Software Foundation. All Rights Reserved."
              stylesheetfile="${resource.dir}/javadoc.css"
              source="1.4">
-      <classpath refid="classpath"/>
+      <!-- pass ant in the classpath to avoid class not found errors -->
+      <classpath>
+        <fileset dir="${lib.dir}">
+          <include name="*.jar"/>
+        </fileset>
+        <fileset dir="${cocoon.webapp.dir}/WEB-INF/lib">
+          <include name="*.jar"/>
+        </fileset>
+        <fileset dir="tools/jetty/lib">
+          <include name="servlet-2.3.jar"/>
+        </fileset>
+        <fileset dir="tools/lib">
+          <include name="*.jar"/>
+        </fileset>
+      </classpath>
     </javadoc>
   </target>
 </project>



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