You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Roger I Martin PhD <hy...@hypernexinc.com> on 2006/09/26 22:07:15 UTC
compiling from new SVN checkout today
Hi
I just checked out a fresh copy. Compiling with Java 1.6 with source
and target set to 1.5 in the build.xml.
............
1) Had to fork and increase memory sizes to get a compile going.
<target name ="compile"
depends ="init, compile-prepare">
<javac destdir="${dest}" deprecation="${deprecation}"
debug="${debug}" optimize="${optimize}" encoding="UTF-8">
.........
changed to
..........
<target name ="compile"
depends ="init, compile-prepare">
<javac destdir="${dest}" deprecation="${deprecation}" source="1.5"
target="1.5" fork="true" memoryInitialSize="128M" memoryMaximumSize="1024M"
debug="${debug}" optimize="${optimize}" encoding="UTF-8">
..............
Two errors on compile:
.................
[javac]
F:\apache\batik\trunk\sources\org\apache\batik\svggen\ImageCacher.ja
va:251: non-static variable this cannot be referenced from a static context
[javac] return new ImageCacheEntry(checksum, data,
SIGN_POUND +
id);
[javac] ^
[javac]
F:\apache\batik\trunk\sources\org\apache\batik\svggen\ImageCacher.ja
va:377: non-static variable this cannot be referenced from a static context
[javac] return new ImageCacheEntry(checksum, imageFile,
imageFil
e.getName());
[javac] ^
............
non-static vs static issues with ImageCacheEntry
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org