You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Une Bévue <yt...@free.fr> on 2006/11/24 11:07:40 UTC

re-compile batik with debug=on

Hey all,


following a prob with ttf to svg i had to recompile batik with debug=on.

this ends up with two errors (BUILD FAILED) with this file :

org/apache/batik/svggen/ImageCacher.java
line 252 :
	return new ImageCacheEntry(checksum, data, SIGN_POUND + id);
line 378 :
	return new ImageCacheEntry(checksum, imageFile, imageFile.getName());

the error being the same in both cases :

non-static variable this cannot be referenced from a static context.

i'm surprised about that because i'm sure i had been able to compile  
it with debug off...

best,

Yvon

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: re-compile batik with debug=on

Posted by Dieter von Holten <in...@dvholten.de>.
Hello,

what version of jdk do you use ?
I tried to compile with the java 6 release candidate and it failed
on the ImageCacher-code. I also used debug=on, but didnt try without.
I filed a bug report.
Previous versions (jdk1.4, 1.5) dont have a probem to compile this.
greetings
dieter von holten


----- Original Message -----
From: "Une Bévue" <yt...@free.fr>
To: <ba...@xmlgraphics.apache.org>
Sent: Friday, November 24, 2006 11:07 AM
Subject: re-compile batik with debug=on


> Hey all,
>
>
> following a prob with ttf to svg i had to recompile batik with debug=on.
>
> this ends up with two errors (BUILD FAILED) with this file :
>
> org/apache/batik/svggen/ImageCacher.java
> line 252 :
> return new ImageCacheEntry(checksum, data, SIGN_POUND + id);
> line 378 :
> return new ImageCacheEntry(checksum, imageFile, imageFile.getName());
>
> the error being the same in both cases :
>
> non-static variable this cannot be referenced from a static context.
>
> i'm surprised about that because i'm sure i had been able to compile
> it with debug off...
>
> best,
>
> Yvon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org