xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger I Martin PhD <hypernex...@hypernexinc.com>
Subject compiling from new SVN checkout today
Date Tue, 26 Sep 2006 20:07:15 GMT
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


Mime
View raw message