i am/was using the <build.xml> file which came with batik
- w/out modification, so i don't know what a "non jdk5
way" might be.
 
the good news is that i was able to <build batik> by
installing/using j2sdk1.4.2_09.  back to the future.
 
my best clues were the compile errors i was getting on
the DOM-related batik files.  many error messages referred
to an unimplemented "getUserData" function in the Node
interface.  when i looked at the DOM API docs i discovered
that "getUserData" is a DOM Level-3 function.  
 
apparently, jdk1.5X uses DOM-3 but batik was coded to DOM-2.
 
thx.
 
 - ken h.
 
----- Original Message -----
Sent: Saturday, September 10, 2005 12:50 AM
Subject: Antwort: bogus batik source (1.6) distribution? - no way


The batik code is correct ( in this aspect.. ) - there *is* such a constructor in RenderingHints -
but with a signature using a generic.

Probably you are compiling with a jdk5 compiler in a 'non jdk5 way'...

I am not sure that the build.xml as included in the batik-dist is capable of compiling
against jdk5 without modifications.

dvholten

Reply via email to