<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="javac.fork" value="no"/>
<property name="junit.fork" value="on"/>
<target name="compile-java" depends="init, codegen" description="Compiles the source code">
<!-- create directories -->
<mkdir dir="${build.classes.dir}"/>
- <javac destdir="${build.classes.dir}" fork="javac.fork" debug="${javac.debug}"
+ <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}"/>
</copy>
<mkdir dir="${build.sandbox-classes.dir}"/>
- <javac destdir="${build.sandbox-classes.dir}" fork="javac.fork" debug="${javac.debug}"
+ <javac destdir="${build.sandbox-classes.dir}" fork="${javac.fork}" debug="${javac.debug}"
deprecation="${javac.deprecation}" optimize="${javac.optimize}"
source="${javac.source}" target="${javac.target}">
<src path="${src.sandbox.dir}"/>
<tstamp>
<format property="ts" pattern="yyyyMMdd-HHmmss-z"/>
</tstamp>
+
+ <pathconvert property="manifest.classpath" dirsep="/" pathsep=" " refid="libs-build-classpath">
+ <map from="${basedir}${file.separator}lib${file.separator}" to=""/>
+ <map from="${optional.lib.dir}${file.separator}" to=""/>
+ </pathconvert>
+
<jar jarfile="${build.dir}/fop.jar" basedir="${build.classes.dir}">
<manifest>
<attribute name="Main-Class" value="org.apache.fop.cli.Main"/>
+ <attribute name="Class-Path" value="${manifest.classpath}"/>
<attribute name="Build-Id" value="${ts} (${user.name} [${os.name} ${os.version} ${os.arch}, Java ${java.runtime.version}])"/>
<section name="org/apache/fop/">
<attribute name="Specification-Title" value="XSL-FO - Extensible Stylesheet Language"/>
<include name="commons-logging*.jar"/>
<include name="batik*.jar"/>
<include name="commons-io*.jar"/>
+ <include name="xmlgraphics*.jar"/>
</lib>
<lib dir="${build.dir}">
<include name="fop.jar"/>
<include name="commons-io*.jar"/>
<include name="avalon-framework*.jar"/>
<include name="commons-logging*.jar"/>
+ <include name="xmlgraphics*.jar"/>
</fileset>
<target name="uptodate-transcoder-pkg" depends="compile-java">
</target>
<target name="junit-compile" depends="package, transcoder-pkg, junit-with-xmlunit, junit-without-xmlunit" description="Runs FOP's JUnit tests" if="junit.present">
<mkdir dir="${build.dir}/test-classes"/>
- <javac destdir="${build.dir}/test-classes" fork="javac.fork"
+ <javac destdir="${build.dir}/test-classes" fork="${javac.fork}"
debug="${javac.debug}" deprecation="${javac.deprecation}"
optimize="${javac.optimize}" source="${javac.source}"
target="${javac.target}">