You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pb...@apache.org on 2004/05/13 15:45:46 UTC
cvs commit: xml-fop build.xml
pbwest 2004/05/13 06:45:46
Modified: . Tag: FOP_0-20-0_Alt-Design build.xml
Log:
Added resources directory to the jar build
Revision Changes Path
No revision
No revision
1.37.2.12 +18 -5 xml-fop/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-fop/build.xml,v
retrieving revision 1.37.2.11
retrieving revision 1.37.2.12
diff -u -r1.37.2.11 -r1.37.2.12
--- build.xml 19 Feb 2004 04:00:12 -0000 1.37.2.11
+++ build.xml 13 May 2004 13:45:46 -0000 1.37.2.12
@@ -151,7 +151,8 @@
<property name="lib.dir" value="${basedir}/lib"/>
<property name="hyph.dir" value="${src.dir}/hyph"/>
<property name="conf.dir" value="${basedir}/conf"/>
-
+ <property name="resources.dir" value="${basedir}/resources"/>
+
<!-- Font generation properties -->
<property name="fonts.dir" value="${fop.dir}/fonts"/>
<property name="base14.dir" value="${fonts.dir}/base14"/>
@@ -175,6 +176,7 @@
<property name="build.dir" value="${basedir}/build"/>
<property name="build.dest" value="${build.dir}/classes"/>
<property name="build.conf" value="${build.dest}/conf"/>
+ <property name="build.resources" value="${build.dest}/resources"/>
<property name="build.tmp" value="${build.dir}/tmp"/>
<property name="build.javadocs" value="${build.dir}/javadocs"/>
<property name="build.examples.dir" value="${build.dir}/examples"/>
@@ -210,6 +212,7 @@
<mkdir dir="${build.dir}"/>
<mkdir dir="${build.dest}"/>
<mkdir dir="${build.conf}"/>
+ <mkdir dir="${build.resources}"/>
<mkdir dir="${build.examples.dir}"/>
<mkdir dir="${build.javadocs}"/>
<mkdir dir="${build.tmp}"/>
@@ -471,7 +474,7 @@
<!-- =================================================================== -->
<target name="compile" depends="init"
description=
- "Compiles Java sources and copies conf and examples directories.">
+ "Compiles Java sources and copies conf, resources and examples directories.">
<echo message="Compiling the sources "/>
<!-- Copy the conf directory files into build -->
<copy todir="${build.conf}">
@@ -483,8 +486,18 @@
</fileset>
<mapper type="glob" from="*" to=".*"/>
</move>
-
- <!-- Copy the examples directory files into build -->
+ <!-- Copy the resources directory files into build -->
+ <copy todir="${build.resources}">
+ <fileset dir="${resources.dir}"/>
+ </copy>
+ <move todir="${build.resources}">
+ <fileset dir="${build.resources}">
+ <include name="cvsignore"/>
+ </fileset>
+ <mapper type="glob" from="*" to=".*"/>
+ </move>
+
+ <!-- Copy the examples directory files into build -->
<!-- Set up the examples properties -->
<property name="examples.cvsignore" value="${examples.dir}/cvsignore"/>
@@ -553,7 +566,7 @@
"[${os.name} ${os.version} ${os.arch}, Java ${java.runtime.version}]"/>
<jar jarfile="${build.dir}/${name}.jar" basedir="${build.dest}"
- includes="org/**,conf/**">
+ includes="org/**,conf/**,resources/**">
<manifest>
<attribute name="Main-Class" value="${main.class}"/>
<attribute name="Class-Path" value="${manifest-classpath}"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org