cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dles...@locus.apache.org
Subject cvs commit: xml-stylebook build.xml
Date Mon, 11 Sep 2000 20:59:16 GMT
dleslie     00/09/11 13:59:16

  Modified:    .        build.xml
  Log:
  Added targets (compile2 and package2) for building a version
  of Stylebook that works with Xalan-J2.
  IMPORTANT: must exclude org.apache.stylebook.processors.XalanProcessor
  when building new version. Must exclude Xalan2Processor in same
  package when building old version (that uses Xalan-J 1).
  
  Revision  Changes    Path
  1.6       +23 -3     xml-stylebook/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-stylebook/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml	2000/06/09 18:08:00	1.5
  +++ build.xml	2000/09/11 20:59:14	1.6
  @@ -22,6 +22,14 @@
        java org.apache.tools.ant.Main
   
      on the directory where this file is located.
  +   
  +   Note: See build.bat in this directory for info on setting up your classpath
  +   to build Stylebook. If you are using the compile2/package2 option to build
  +   a version of Stylebook that works with Xalan-J 2, Xalan-J 2 (NOT Xalan-J 1) must be
on the 
  +   classpath and an up-to-date version of Xerces-J with javax.xml.parsers must also be
on the
  +   classpath. 
  +      Donald Leslie <donald_leslie@lotus.com> 
  +      9-11-00
   
   Authors:
     Stefano Mazzocchi <stefano@apache.org>
  @@ -29,7 +37,7 @@
   Copyright:
     Copyright (c) 1999 The Apache Software Foundation.
   
  -   $Id: build.xml,v 1.5 2000/06/09 18:08:00 abagchi Exp $
  +   $Id: build.xml,v 1.6 2000/09/11 20:59:14 dleslie Exp $
   
   ==================================================================== -->
   
  @@ -38,6 +46,7 @@
     <target name="init">
   	  <property name="name" value="stylebook"/>
   	  <property name="version" value="1.0-b2"/>
  + 	  <property name="version-xalan-2" value="1.0-b3_xalan-2"/> <!-- Version to
use with Xalan-J 2 -->
   
   	  <property name="build.compiler" value="classic"/>
   	  <property name="debug" value="off"/>
  @@ -55,13 +64,24 @@
       <mkdir dir="${build.dest}"/>
       <copydir src="${src.dir}" dest="${build.src}"/>
     </target>
  -
  +  
  +  <!-- If compiling version to run with Xalan-J 1, must not include Xalan2Processor
in the compile.
  +       If compiling version to run with Xalan-J 2, must not include XalanProcessor in the
compile. -->
  +  
     <target name="compile" depends="prepare">
  -    <javac srcdir="${build.src}" destdir="${build.dest}" classpath="${classpath}" debug="${debug}"/>
  +    <javac srcdir="${build.src}" excludes="org/apache/stylebook/processors/Xalan2Processor.java"
destdir="${build.dest}" classpath="${classpath}" debug="${debug}"/>
     </target>
   
     <target name="package" depends="compile">
       <jar jarfile="${bin.dir}/${name}-${version}.jar" basedir="${build.dest}" items="org"/>
  +  </target>
  +  
  +<!--Compile and Package to work with Xalan-J 2 -->
  +  <target name="compile2" depends="prepare">
  +    <javac srcdir="${src.dir}" excludes="org/apache/stylebook/processors/XalanProcessor.java"
destdir="${build.dest}" debug="${debug}"/>
  +  </target>
  +  <target name="package2" depends="compile2">
  +    <jar jarfile="${bin.dir}/${name}-${version-xalan-2}.jar" basedir="${build.dest}"
items="org"/>
     </target>
   
     <target name="clean">
  
  
  

Mime
View raw message