crafterm    2002/11/05 15:05:58

  Modified:    .        build.xml
  Log:
  Modified javadoc generation to include source files of blocks that have
  been built. Reported by Geoff Howard <[EMAIL PROTECTED]>.
  
  Revision  Changes    Path
  1.277     +10 -4     xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.276
  retrieving revision 1.277
  diff -u -r1.276 -r1.277
  --- build.xml 1 Nov 2002 05:42:03 -0000       1.276
  +++ build.xml 5 Nov 2002 23:05:58 -0000       1.277
  @@ -1619,9 +1619,8 @@
     <!-- =================================================================== -->
     <!-- Creates the API documentation for pre JDK 1.4                       -->
     <!-- =================================================================== -->
  -  <target name="javadocs13" unless="jdbc3.present">
  +  <target name="javadocs13" depends="init" unless="jdbc3.present">
       <javadoc packagenames="${packages}.*"
  -             sourcepath="${build.src}"
                destdir="${build.javadocs}"
                author="true"
                version="true"
  @@ -1631,6 +1630,10 @@
                doctitle="${Name}"
                bottom="Copyright &#169; ${year} Apache Software Foundation. All 
Rights Reserved."
                stylesheetfile="${resource.dir}/javadoc.css">
  +      <fileset dir="${build.dir}">
  +        <include name="src/**/*.java"/>
  +        <include name="blocks/**/*.java"/>
  +      </fileset>
         <classpath refid="classpath"/>
       </javadoc>
     </target>
  @@ -1638,11 +1641,10 @@
     <!-- =================================================================== -->
     <!-- Creates the API documentation for JDK 1.4                           -->
     <!-- =================================================================== -->
  -  <target name="javadocs14" if="jdbc3.present">
  +  <target name="javadocs14" depends="init" if="jdbc3.present">
       <javadoc packagenames="${packages}.*"
                additionalparam="-subpackages ${packages}"
                
excludepackagenames="org.apache.cocoon.components.language.programming.java"
  -             sourcepath="${build.src}"
                destdir="${build.javadocs}"
                author="true"
                version="true"
  @@ -1652,6 +1654,10 @@
                doctitle="${Name}"
                bottom="Copyright &#169; ${year} Apache Software Foundation. All 
Rights Reserved."
                stylesheetfile="${resource.dir}/javadoc.css">
  +      <fileset dir="${build.dir}">
  +        <include name="src/**/*.java"/>
  +        <include name="blocks/**/*.java"/>
  +      </fileset>
         <classpath refid="classpath"/>
       </javadoc>
     </target>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to