aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Pietschmann <pietsch@apache.org>2005-09-06 21:25:45 +0000
committerJoerg Pietschmann <pietsch@apache.org>2005-09-06 21:25:45 +0000
commit19e32aacd9159d175c4c824a5da758f3a78ca7be (patch)
tree1abb0d48c15f8a0f9c80866b1538646476ce9a6a
parent1ab8f0165a658047da694aa32978f3b9238bea7e (diff)
downloadxmlgraphics-fop-19e32aacd9159d175c4c824a5da758f3a78ca7be.tar.gz
xmlgraphics-fop-19e32aacd9159d175c4c824a5da758f3a78ca7be.zip
Moved default property settings from build.properties to build.xml.
Add comments to build.properties. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279120 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build.properties46
-rw-r--r--build.xml7
2 files changed, 42 insertions, 11 deletions
diff --git a/build.properties b/build.properties
index e88b5e024..906594cde 100644
--- a/build.properties
+++ b/build.properties
@@ -1,15 +1,39 @@
-# these settings can be overridden locally in build-local.properties,
-# which is not stored in CVS (due to .cvsignore)
+## This is a template for settings which are useful to be
+## overridden in a developer specific property files.
+## Copy this to build-local.properties, uncomment and change
+## properties which should be overridden.
+## The file buil-local.properties is not stored in the code
+## repository and ignored for file adds.
-# output format for "ant examples"
-build.property.examples.mime.type = application/pdf
+## -----------------------
+## 1. Important path settings
-# decides if JUnit test shall be forked
-junit.fork = on
+## All Jars from the optional lib directory are added used for
+## compilation and JUnit tests. Put your jars for additional
+## dependencies and tools here.
+# optional.lib.dir = /home/bart/java/lib
-# specifies the default file that contains a list of disabled layout engine tests.
-layoutengine.disabled=test/layoutengine/disabled-testcases.txt
+## -----------------------
+## 2. Switches for common tasks
+
+# Javac switches
+# debug = on
+# optimize = off
+# deprecation = on
+# javac.source = 1.3
+# javac.target = 1.3
+
+## JUnit task switches
+# junit.fork = on
+
+## Packages to produce javadoc.
+## Add packages for FOP extensions if necessary.
+# javadoc.packages = org.apache.fop.*,fopextension.*
+
+## -----------------------
+## 3. FOP specific properties
+
+# Specify an alternate file that contains a list of disabled layout
+# engine tests.
+# layoutengine.disabled = test/layoutengine/disabled-testcases.txt
-# directory for optional-lib (so there is no need to copy the jar into
-# the fop/lib directory
-# optional.lib.dir = <Optional Lib Directory> \ No newline at end of file
diff --git a/build.xml b/build.xml
index 5c097d518..5ef2959a9 100644
--- a/build.xml
+++ b/build.xml
@@ -160,6 +160,9 @@ list of possible build targets.
<property name="javac.source" value="1.3"/>
<property name="javac.target" value="1.3"/>
+
+ <property name="junit.fork" value="on"/>
+
<property name="javadoc.packages" value="org.apache.fop.*"/>
<property name="src.dir" value="${basedir}/src"/>
@@ -182,6 +185,10 @@ list of possible build targets.
<property name="build.viewer.resources.dir" value="${build.classes.dir}/org/apache/fop/render/awt/viewer/resources"/>
<property name="build.viewer.images.dir" value="${build.classes.dir}/org/apache/fop/render/awt/viewer/images"/>
+ <property name="build.property.examples.mime.type" value="application/pdf"/>
+
+ <property name="layoutengine.disabled" value="test/layoutengine/disabled-testcases.txt"/>
+
<property name="dist.bin.dir" value="${basedir}/dist-bin"/>
<property name="dist.src.dir" value="${basedir}/dist-src"/>
<property name="dist.bin.result.dir" value="${dist.bin.dir}/${Name}-${version}"/>