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 je...@apache.org on 2006/02/20 16:37:12 UTC
svn commit: r379149 - in /xmlgraphics/fop/branches/fop-0_20_2-maintain:
build.xml src/org/apache/fop/svg/PDFGraphics2D.java
Author: jeremias
Date: Mon Feb 20 07:37:12 2006
New Revision: 379149
URL: http://svn.apache.org/viewcvs?rev=379149&view=rev
Log:
Fix JDK 1.5 compile errors and make Gump happy.
Modified:
xmlgraphics/fop/branches/fop-0_20_2-maintain/build.xml
xmlgraphics/fop/branches/fop-0_20_2-maintain/src/org/apache/fop/svg/PDFGraphics2D.java
Modified: xmlgraphics/fop/branches/fop-0_20_2-maintain/build.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/branches/fop-0_20_2-maintain/build.xml?rev=379149&r1=379148&r2=379149&view=diff
==============================================================================
--- xmlgraphics/fop/branches/fop-0_20_2-maintain/build.xml (original)
+++ xmlgraphics/fop/branches/fop-0_20_2-maintain/build.xml Mon Feb 20 07:37:12 2006
@@ -107,6 +107,7 @@
============================================================================ -->
<project default="package" basedir=".">
+ <property environment="env"/>
<fileset dir="${basedir}" id="dist.bin">
<include name="build/site/**"/>
@@ -196,11 +197,16 @@
<property name="year" value="1999-2003"/>
<echo message="------------------- ${Name} ${version} [${year}] ----------------"/>
+ <echo message="${ant.version}"/>
+ <echo message="VM: ${java.vm.version}, ${java.vm.vendor}"/>
+ <echo message="JAVA_HOME: ${env.JAVA_HOME}"/>
- <property name="build.compiler" value="classic"/>
+ <!--property name="build.compiler" value="classic"/-->
<property name="debug" value="on"/>
<property name="optimize" value="off"/>
<property name="deprecation" value="off"/>
+ <property name="javac.source" value="1.3"/>
+ <property name="javac.target" value="1.3"/>
<property name="textfontencoding" value="WinAnsiEncoding"/>
@@ -553,7 +559,8 @@
debug="${debug}"
deprecation="${deprecation}"
optimize="${optimize}"
- excludes="**/*${ignore_this},${jimi}">
+ excludes="**/*${ignore_this},${jimi}"
+ source="${javac.source}" target="${javac.target}">
<classpath refid="libs-build-classpath"/>
</javac>
</target>
Modified: xmlgraphics/fop/branches/fop-0_20_2-maintain/src/org/apache/fop/svg/PDFGraphics2D.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/branches/fop-0_20_2-maintain/src/org/apache/fop/svg/PDFGraphics2D.java?rev=379149&r1=379148&r2=379149&view=diff
==============================================================================
--- xmlgraphics/fop/branches/fop-0_20_2-maintain/src/org/apache/fop/svg/PDFGraphics2D.java (original)
+++ xmlgraphics/fop/branches/fop-0_20_2-maintain/src/org/apache/fop/svg/PDFGraphics2D.java Mon Feb 20 07:37:12 2006
@@ -1362,6 +1362,16 @@
return null;
}
@jdk14codeend@
+
+ @jdk14codestart@
+ /**
+ * @see java.awt.GraphicsConfiguration#createCompatibleVolatileImage(int, int, int)
+ * @since JDK 1.5
+ */
+ public java.awt.image.VolatileImage createCompatibleVolatileImage(int width, int height, int transparency) {
+ return null;
+ }
+ @jdk14codeend@
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org