aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorJoerg Pietschmann <pietsch@apache.org>2005-09-06 21:39:21 +0000
committerJoerg Pietschmann <pietsch@apache.org>2005-09-06 21:39:21 +0000
commit82d44da6ffb1e581f5daf5ce4c923ccc52a3b21b (patch)
tree0a4d867d36dded32565e9785c414a1d6505761be /build.xml
parent19e32aacd9159d175c4c824a5da758f3a78ca7be (diff)
downloadxmlgraphics-fop-82d44da6ffb1e581f5daf5ce4c923ccc52a3b21b.tar.gz
xmlgraphics-fop-82d44da6ffb1e581f5daf5ce4c923ccc52a3b21b.zip
Add property for forking javac.
Add javac.fork and user.hyph.dir to the build.porperties templates. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279125 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml18
1 files changed, 11 insertions, 7 deletions
diff --git a/build.xml b/build.xml
index 5ef2959a9..09f749efb 100644
--- a/build.xml
+++ b/build.xml
@@ -154,12 +154,12 @@ list of possible build targets.
<property name="version" value="1.0dev"/>
<property name="year" value="1999-2005"/>
- <property name="debug" value="on"/>
- <property name="optimize" value="off"/>
- <property name="deprecation" value="on"/>
+ <property name="javac.debug" value="on"/>
+ <property name="javac.optimize" value="off"/>
+ <property name="javac.deprecation" value="on"/>
<property name="javac.source" value="1.3"/>
<property name="javac.target" value="1.3"/>
-
+ <property name="javac.fork" value="off"/>
<property name="junit.fork" value="on"/>
@@ -360,8 +360,9 @@ list of possible build targets.
<target name="compile-java" depends="init, codegen" description="Compiles the source code">
<!-- create directories -->
<mkdir dir="${build.classes.dir}"/>
- <javac destdir="${build.classes.dir}" debug="${debug}" deprecation="${deprecation}"
- optimize="${optimize}" source="${javac.source}" target="${javac.target}">
+ <javac destdir="${build.classes.dir}" fork="javac.fork" debug="${javac.debug}"
+ deprecation="${javac.deprecation}" optimize="${javac.optimize}"
+ source="${javac.source}" target="${javac.target}">
<src path="${build.gensrc.dir}"/>
<src path="${src.java.dir}"/>
<src refid="graphics-configuration-adapter"/>
@@ -580,7 +581,10 @@ list of possible build targets.
<!-- =================================================================== -->
<target name="junit" depends="package, transcoder-pkg" description="Runs FOP's JUnit tests" if="junit.present">
<mkdir dir="${build.dir}/test-classes"/>
- <javac destdir="${build.dir}/test-classes" debug="${debug}" deprecation="${deprecation}" optimize="${optimize}">
+ <javac destdir="${build.dir}/test-classes" fork="javac.fork"
+ debug="${javac.debug}" deprecation="${javac.deprecation}"
+ optimize="${javac.optimize}" source="${javac.source}"
+ target="${javac.target}">
<src path="${basedir}/test/java"/>
<classpath>
<path refid="libs-build-classpath"/>