aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorSteve Coffman <gears@apache.org>2000-10-12 22:11:33 +0000
committerSteve Coffman <gears@apache.org>2000-10-12 22:11:33 +0000
commit8e50d92e22db64b098f7b601b6980719d8df1862 (patch)
treed4ececbeb28a72f991815a65275141ee3df06356 /build.xml
parentdf98ff4aef27d94815ad7ebd61318f296ca9036d (diff)
downloadxmlgraphics-fop-8e50d92e22db64b098f7b601b6980719d8df1862.tar.gz
xmlgraphics-fop-8e50d92e22db64b098f7b601b6980719d8df1862.zip
Christian Geisert's patch to allow JDK 1.1 people to use no images.
Doesn't hurt on 1.2, but haven't tested on 1.1 system. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193724 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index de82dedf5..0247fd7b2 100644
--- a/build.xml
+++ b/build.xml
@@ -155,6 +155,14 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<property name="ignore_this" value="ignore_this.java"/>
<property name="jimi" value="JimiImage.java"/>
+ <property name="ignore_jdk11"
+ value="org/apache/fop/render/awt/**
+ ,org/apache/fop/image/analyzer/*
+ ,org/apache/fop/viewer/**
+ ,org/apache/fop/image/*
+ ,**/PrintCommandLine.java
+ ,**/AWTCommandLine.java"/>
+
<property name="xslt" value="org.apache.xalan.xslt.Process"/>
<property name="src.properties.xsl" value="${src.codegen}/properties.xsl"/>
<property name="properties.xml" value="${build.codegen}/properties.xml"/>
@@ -317,6 +325,19 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
excludes="**/${ignore_this},${jimi}"/>
</target>
+ <target name="compile-jdk11" depends="codegen, prepare-src">
+ <echo message="Compiling the sources for JDK1.1"/>
+ <!-- create directories -->
+ <mkdir dir="${build.dest}"/>
+
+ <javac srcdir="${build.src}"
+ destdir="${build.dest}"
+ debug="${debug}"
+ deprecation="${deprecation}"
+ optimize="${optimize}"
+ excludes="**/${ignore_this},${jimi},${ignore_jdk11}"/>
+ </target>
+
<!-- =================================================================== -->
<!-- Creates the class package -->
<!-- =================================================================== -->
@@ -327,6 +348,13 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
includes="org/**"/>
</target>
+ <target name="package-jdk11" depends="compile-jdk11">
+ <echo message="Creating the jar file ${build.dir}/${name}11.jar"/>
+ <jar jarfile="${build.dir}/${name}-jdk11.jar"
+ basedir="${build.dest}"
+ includes="org/**"/>
+ </target>
+
<!-- =================================================================== -->
<!-- Prepares the docs -->
<!-- =================================================================== -->