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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to