crossley    2002/12/23 21:55:10

  Modified:    .        build.xml
  Log:
  Experimental commit to use <sourcepath> for javadocs build.
  Using <fileset> appears to give out-of-memory errors from 'javadoc'.
  
  Revision  Changes    Path
  1.296     +10 -0     xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.295
  retrieving revision 1.296
  diff -u -r1.295 -r1.296
  --- build.xml 24 Dec 2002 03:05:39 -0000      1.295
  +++ build.xml 24 Dec 2002 05:55:10 -0000      1.296
  @@ -1759,11 +1759,21 @@
                bottom="Copyright &#169; ${year} Apache Software Foundation. All 
Rights Reserved."
                stylesheetfile="${resource.dir}/javadoc.css"
                useexternalfile="yes">
  +<!-- FIXME: Using this fileset technique fails with out-of-memory errors.
  +  It seems that the cause is loading too many individual *.java files.
  +  Try <sourcepath> instead and let javadoc load them. -->
  +<!--
         <fileset dir="${build.dir}">
           <include name="src/**/*.java"/>
           <include name="blocks/**/*.java"/>
           <include name="deprecated/**/*.java"/>
         </fileset>
  +      <fileset dir="${blocks.dir}">
  +        <include name="**/mocks/**/*.java"/>
  +      </fileset>
  +-->
  +      <sourcepath location="${build.dir}/src"/>
  +      <sourcepath location="${build.dir}/blocks"/>
         <fileset dir="${blocks.dir}">
           <include name="**/mocks/**/*.java"/>
         </fileset>
  
  
  

----------------------------------------------------------------------
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