dleslie     00/10/11 07:38:35

  Modified:    java     build.xml
  Log:
  1. Modified compile target to explicitly include entire source
      tree, except xalan-J 1 compatability classes, and to
      explicitly copy .properties  and .res files to build tree.
  2. Completed the site target (for building website doc).
  3. Changed javadocs target to include public members.
  
  Revision  Changes    Path
  1.27      +19 -16    xml-xalan/java/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/build.xml,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- build.xml 2000/10/10 23:27:07     1.26
  +++ build.xml 2000/10/11 14:38:34     1.27
  @@ -40,7 +40,7 @@
     
     - Much of this file stolen from Stefano's xml-xerces build.xml  
     
  -   $Id: build.xml,v 1.26 2000/10/10 23:27:07 garyp Exp $
  +   $Id: build.xml,v 1.27 2000/10/11 14:38:34 dleslie Exp $
      
   ==================================================================== -->
   
  @@ -133,19 +133,21 @@
              debug="${debug}"/>
     </target>
   
  -  <target name="compile" depends="prepare,compile.serialize,compile.trax">
  -    <echo message="compile target 
includes=${src.dir}/${xpath.reldir}/**,${src.dir}/${xalan.reldir}/**" />
  +  <!-- =================================================================== 
-->
  +  <!-- Compile entire source tree - except Xalan-J 1 compatability classes 
-->
  +  <!-- =================================================================== 
-->
  +   
  +  <target name="compile" depends="prepare">
  +    <echo message="compile entire source tree (except Xalan-J 1 
compatability classes)"/>
  +    <echo message="  and copy .properties and .res files to build tree." />
       <javac srcdir="${src.dir}" 
  -           destdir="${build.classes}" 
  -           includes="${xpath.reldir}/**,${xalan.reldir}/**" 
  -           excludesfile="compat.excludes" 
  -           debug="${debug}" />
  +           destdir="${build.classes}"
  +           includes="**/*.java"
  +           excludesfile="compat.excludes"           
  +           debug="${debug}"/>
  +    <copydir src="${src.dir}" dest="${build.classes}" 
includes="**/*.properties,**/*.res"/>
     </target>
  -  
  -  <target name="compile.other" 
depends="compile,compile.sax,compile.w3c,compile.jaxp">
  -    <echo message="compiling SAX 2, DOM 2, and Java API for XML Parsing"/>
  -  </target>  
  -   
  +    
     <!-- =================================================================== 
-->
     <!-- Compiles other source trees                                         
-->
     <!-- =================================================================== 
-->
  @@ -231,6 +233,7 @@
     <!-- must be on the classpath                                             
-->
     <!-- =================================================================== 
-->
    <target name="servlet" depends="jar">
  +     <echo message="To compile and run the sample servlet, javax.servlet and 
javax.servlet.http must be on the classpath"/>   
        <mkdir dir="${build.dir}/servlet"/>
        <javac srcdir="${samples.dir}/servlet" 
classpath="${java.class.path}:${build.dir}/${xalan.jar}" 
              destdir="${build.samples}"
  @@ -270,7 +273,7 @@
       <copyfile src="./xdocs/sources/xalan/trax.gif" 
dest="${build.apidocs}/trax/trax.gif"/>
         
       <javadoc
  -         private="true"
  +         public="true"
            doclet="xalanjdoc.Standard"
            sourcepath="${src.dir}"
            overview="${src.dir}/javadocOverview.html"
  @@ -354,7 +357,7 @@
     <!-- =================================================================== 
-->
     <!-- Creates the documentation tree for the org.apache.xml website       
-->
     <!-- =================================================================== 
-->
  -  <!--target name="site">
  +  <target name="site">
    
       <mkdir dir="${site.dir}"/>
       <mkdir dir="${site.dir}/apidocs"/>
  @@ -362,8 +365,8 @@
       <java fork="yes" classname="${doc.generator}" 
classpath="${java.class.path}:${build.dir}/${name}.jar" 
            args="targetDirectory=${site.dir} ${site.book} ${xdocs.style}"/>
          
  -    <copydir src="${build.docs}/resources" 
dest="${site.dir}/docs/resources"/>
  +    <!--copydir src="${build.docs}/resources" 
dest="${site.dir}/docs/resources"/-->
       <copydir src="${build.apidocs}" dest="${site.dir}/apidocs"/>
  -  </target-->
  +  </target>
    
   </project>
  
  
  

Reply via email to