mkwan       2003/01/24 13:40:03

  Modified:    java     build.xml
  Log:
  Commit the patch from Sarah Mcnamara ([EMAIL PROTECTED]) to remove
  the compat target.
  
  Revision  Changes    Path
  1.182     +4 -60     xml-xalan/java/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/build.xml,v
  retrieving revision 1.181
  retrieving revision 1.182
  diff -u -r1.181 -r1.182
  --- build.xml 15 Nov 2002 15:12:13 -0000      1.181
  +++ build.xml 24 Jan 2003 21:40:03 -0000      1.182
  @@ -40,7 +40,7 @@
     Don Leslie <[email protected]>
   
   Copyright:
  -  Copyright (c) 1999-2001 The Apache Software Foundation.
  +  Copyright (c) 1999-2003 The Apache Software Foundation.
      $Id$
   ==================================================================== -->
   
  @@ -116,17 +116,6 @@
     <property name="dist.file" value="${name}-j_${version}"/><!-- GUMP: actual 
path/name of dist target .tar.gz/.zip-->
     <property name="dist.dir" value="${build.dir}/${dist.file}"/>
     
  -  <!-- Xalan-J1 compatability stuff.  -->
  -  <!-- TO BE REMOVED: 'skipcompat' flag allows you to optionally 
  -       skip 1.x compat layer; default to true, so we can  
  -       switch to Xerces 2.x which compat won't compile with -->
  -  <property name="skipcompat" value="true"/>
  -  <property name="compat.jar" value="xalanj1compat.jar"/>
  -  <property name="compat.src.dir" value="./compat_src"/>
  -  <property name="build.compat.classes" value="${build.dir}/compat_classes"/>
  -  <property name="build.compat.jar" value="${build.dir}/${compat.jar}"/>
  -  <property name="build.compat.apidocs" 
value="${build.docs}/compat_apidocs"/>        
  -
      <!-- xml-commons sources (for Javadoc) -->                                
                                        
      <property name="xml-commons-srcs.tar.gz" 
value="${src.dir}/xml-commons-src.tar.gz"/>                                     
                                    
      <property name="xml-commons-srcs.tar" 
value="${build.dir}/xml-commons-src.tar"/>
  @@ -235,7 +224,7 @@
     <!-- Compile entire source tree                                          
-->
     <!-- =================================================================== 
-->
     <target name="compile" depends="prepare"
  -    description="Compile Xalan-J 2.x (skips 1.x compat and XSLTC)" >
  +    description="Compile Xalan-J 2.x (skips XSLTC)" >
       <echo message="compile entire source tree and copy .properties and .res 
files to build tree."/>
       <javac srcdir="${src.dir}" 
              destdir="${build.classes}"
  @@ -494,51 +483,6 @@
       <echo message="Redirect to jar target; please provide input on desired 
functionality of this target"/>
     </target>
     
  -  <!-- =================================================================== 
-->
  -  <!-- Creates the Xalan-J1 compatability JAR: being removed               
-->
  -  <!-- =================================================================== 
-->
  -  <target name="compat.jar" depends="jar"
  -    description="UNSUPPORTED:Compile and jar Xalan-J 1.x backwards compat 
classes" 
  -    unless="skipcompat" >
  -    <echo message="UNSUPPORTED:Compile and jar just the Xalan-J 1 
compability API"/>
  -    <mkdir dir="${build.compat.classes}"/>
  -    <javac srcdir="${compat.src.dir}" 
  -           destdir="${build.compat.classes}"
  -           includes="**/*.java"
  -           debug="${build.debug}"
  -           bootclasspathref="xslt.boot.class.path" >
  -      <classpath refid="docs.class.path" />
  -    </javac>           
  -    <copy todir="${build.compat.classes}">
  -          <fileset dir="${compat.src.dir}" 
includes="**/*.properties,**/*.res"/>
  -    </copy>  
  -    <jar jarfile="${build.compat.jar}" manifest="${manifest.mf}" 
basedir="${build.compat.classes}"/>
  -  </target>
  -  
  -  <!-- =================================================================== 
-->
  -  <!-- Creates the Xalan-J1 compatability javadoc: being removed           
-->
  -  <!-- =================================================================== 
-->
  -  <target name="compat.javadocs" depends="jar"
  -    description="UNSUPPORTED:Build javadocs for Xalan-J 1.x backwards compat 
classes" 
  -    unless="skipcompat" >
  -    <mkdir dir="${build.compat.apidocs}"/>
  -    <javadoc
  -         public="true"
  -         sourcepath="${compat.src.dir}"
  -         overview="${compat.src.dir}/compatOverview.html"         
  -         
packagenames="org.apache.xalan.xslt,org.apache.xalan.xpath,org.apache.xalan.xpath.xml"
  -         author="true"
  -         version="true"
  -         use="true"
  -         destdir="${build.compat.apidocs}"
  -         windowtitle="${Name-in-docs} 1 Compatability" 
  -         doctitle="${Name-in-docs} 1 Compatability"
  -         bottom="Copyright &#169; ${year} Apache XML Project. All Rights 
Reserved.">
  -      <classpath refid="docs.class.path" />
  -    </javadoc>
  -  </target>
  -    
  -
     <!-- =================================================================== 
-->
     <!-- Compiles the samples (servlet excluded) and jars the class files    
-->  
     <!-- =================================================================== 
-->
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to