You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by ru...@apache.org on 2001/12/03 17:42:04 UTC
cvs commit: xml-stylebook build.xml
rubys 01/12/03 08:42:04
Modified: . build.xml
Log:
<copydir> has been deprecated for quite some time... upgrade to <copy>
so that gump builds will continue to work once this finally goes away.
Developers using the latest cvs will now need at least Ant 1.2. (The
current release is 1.4.1).
Revision Changes Path
1.10 +10 -4 xml-stylebook/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-stylebook/build.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- build.xml 2001/03/01 19:53:40 1.9
+++ build.xml 2001/12/03 16:42:03 1.10
@@ -37,7 +37,7 @@
Copyright:
Copyright (c) 1999 The Apache Software Foundation.
- $Id: build.xml,v 1.9 2001/03/01 19:53:40 rubys Exp $
+ $Id: build.xml,v 1.10 2001/12/03 16:42:03 rubys Exp $
==================================================================== -->
@@ -62,7 +62,9 @@
<mkdir dir="${build.dir}"/>
<mkdir dir="${build.src}"/>
<mkdir dir="${build.dest}"/>
- <copydir src="${src.dir}" dest="${build.src}"/>
+ <copy todir="${build.src}">
+ <fileset dir="${src.dir}"/>
+ </copy>
</target>
<!-- If compiling version to run with Xalan-J 1, must not include Xalan2Processor in the compile.
@@ -70,7 +72,9 @@
<target name="compile" depends="prepare">
<javac srcdir="${build.src}" excludes="org/apache/stylebook/processors/Xalan2Processor.java" destdir="${build.dest}" classpath="${classpath}" debug="${debug}"/>
- <copydir src="${build.src}/org/apache/stylebook/data" dest="${build.dest}/org/apache/stylebook/data"/>
+ <copy todir="${build.dest}/org/apache/stylebook/data">
+ <fileset dir="${build.src}/org/apache/stylebook/data"/>
+ </copy>
</target>
<target name="package" depends="compile">
@@ -80,7 +84,9 @@
<!--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}"/>
- <copydir src="${build.src}/org/apache/stylebook/data" dest="${build.dest}/org/apache/stylebook/data"/>
+ <copy todir="${build.dest}/org/apache/stylebook/data">
+ <fileset dir="${build.src}/org/apache/stylebook/data"/>
+ </copy>
</target>
<target name="package2" depends="compile2">
<replace file="${build.dest}/org/apache/stylebook/data/engine.xml" token="XalanProcessor" value="Xalan2Processor"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org