|
It seems that source is not supported if ant is
used with JDK 1.3, so this is not really a solution..
Regards,
George
----- Original Message -----
Sent: Wednesday, June 12, 2002 2:10
PM
Subject: Xerces compiled with JDK 1.4 -
run with JDK 1.3
Hi
I compiled Xerces at some moment with JDK
1.4. If I use the compiled jars with JDK 1.3 then I get a NoSuchMethodError in
IndentPrinter when I try to serialize a document. Finnaly I figured out the
problem... In JDK 1.4 there is a new append method in StringBuffer that takes
a StringBuffer as parameter. One way to avoid this type of problems will be to
add source="1.3" for instance to javac element in the build.xml
script.
Regards,
George
|