You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by dl...@locus.apache.org on 2000/11/16 14:31:55 UTC
cvs commit: xml-stylebook build.xml
dleslie 00/11/16 05:31:55
Modified: . build.xml
Log:
Submitted by Davanum Srinivas to replace XalanProcessor
with Xalan2Processor in org/apache/stylebook/data/engine.xml
if the build target is package2 (i.e., build Stylebook to use
Xalan-J 2).
Revision Changes Path
1.7 +4 -3 xml-stylebook/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-stylebook/build.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- build.xml 2000/09/11 20:59:14 1.6
+++ build.xml 2000/11/16 13:31:55 1.7
@@ -37,7 +37,7 @@
Copyright:
Copyright (c) 1999 The Apache Software Foundation.
- $Id: build.xml,v 1.6 2000/09/11 20:59:14 dleslie Exp $
+ $Id: build.xml,v 1.7 2000/11/16 13:31:55 dleslie Exp $
==================================================================== -->
@@ -73,7 +73,7 @@
</target>
<target name="package" depends="compile">
- <jar jarfile="${bin.dir}/${name}-${version}.jar" basedir="${build.dest}" items="org"/>
+ <jar jarfile="${bin.dir}/${name}-${version}.jar" basedir="${build.dest}" includes="org/**"/>
</target>
<!--Compile and Package to work with Xalan-J 2 -->
@@ -81,7 +81,8 @@
<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"/>
+ <replace file="${build.dest}/org/apache/stylebook/data/engine.xml" token="XalanProcessor" value="Xalan2Processor"/>
+ <jar jarfile="${bin.dir}/${name}-${version-xalan-2}.jar" basedir="${build.dest}" includes="org/**"/>
</target>
<target name="clean">