You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-cvs@xml.apache.org by cr...@apache.org on 2003/09/03 04:17:47 UTC

cvs commit: xml-commons build.xml

crossley    2003/09/02 19:17:47

  Modified:    .        build.xml
  Log:
  Build the docs with Forrest before packing the dist.
  
  Revision  Changes    Path
  1.7       +14 -1     xml-commons/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-commons/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml	20 Dec 2002 05:46:46 -0000	1.6
  +++ build.xml	3 Sep 2003 02:17:47 -0000	1.7
  @@ -41,7 +41,7 @@
   
     <!-- Public Targets -->
     <target name="all"
  -          depends="jars,dist"
  +          depends="docs,jars,dist"
             description="Default all target; calls every sub-build file directly.">
     </target>
   
  @@ -71,6 +71,9 @@
         <fileset dir="java/"/>
       </copy>  
   
  +    <!-- Copy the documentation that has already been built by Forrest -->
  +    <!-- No need, because forrest builds directly into ${dist.dir}/site/ -->
  +
       <!-- Copy pertinent top-level files -->
       <copy todir="${dist.dir}/${dist.basename}">
         <fileset dir="." includes="KEYS,README.html,build.xml"/>
  @@ -101,6 +104,16 @@
       <ant dir="java" antfile="resolver.xml" target="clean" >
       </ant>
     </target>
  +
  +  <target name="docs">
  +    <!-- call forrest to prepare the docs -->
  +    <ant target="site" />
  +
  +    <!-- copy the various javadocs into the website docs -->
  +<!-- FIXME: not yet done -->
  +
  +  </target>
     
  +  <!-- import the Forrest build targets -->
     &forrest-targets;
   </project>