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 bd...@apache.org on 2002/10/31 18:16:07 UTC
cvs commit: xml-fop build.properties build.xml
bdelacretaz 2002/10/31 09:16:07
Modified: . build.xml
Added: . build.properties
Log:
build.properties and build-local.properties allow local override of build settings
Revision Changes Path
1.65 +7 -1 xml-fop/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-fop/build.xml,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- build.xml 28 Oct 2002 09:26:46 -0000 1.64
+++ build.xml 31 Oct 2002 17:16:07 -0000 1.65
@@ -36,6 +36,11 @@
============================================================================ -->
<project default="package" basedir=".">
+ <!-- used to set values for testing etc. -->
+ <!-- build-local.properties is not stored in CVS and overrides values from build.properties -->
+ <property file="build-local.properties"/>
+ <property file="build.properties"/>
+
<fileset dir="${basedir}" id="dist.bin">
<include name="conf/**"/>
<include name="docs/**"/>
@@ -130,6 +135,7 @@
<property name="year" value="1999-2002"/>
<echo message="------------------- ${Name} ${version} [${year}] ----------------"/>
+ <echo message="See build.properties and build-local.properties for additional build settings"/>
<property name="build.compiler" value="classic"/>
<property name="debug" value="on"/>
@@ -668,7 +674,7 @@
<taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop"
classpathref="libs-run-classpath"/>
<mkdir dir="${build.examples.dir}"/>
- <fop format="application/pdf" outdir="${build.examples.dir}"
+ <fop format="${build.property.examples.mime.type}" outdir="${build.examples.dir}"
messagelevel="debug" basedir="${fo.examples.dir}">
<fileset dir="${fo.examples.dir}">
<include name="**/*.fo"/>
1.1 xml-fop/build.properties
Index: build.properties
===================================================================
# these settings can be overridden locally in build-local.properties,
# which is not stored in CVS (due to .cvsignore)
# output format for "ant examples"
build.property.examples.mime.type = application/pdf
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org