I have a quick question as to how the various developers do his or her
compiles.  I know that we're supposed to make it so that XalanJ will run
under JDK 1.1.x.

How do you enforce this?

I'm asking because up until now I've been doing it by using the Sun JDK
1.1.8 javac compiler.  I'm using 1.1.8_007 which is one less than the
latest version.  However, I was unable to compile the latest CVS for two
reasons:  First, the classes XString, XNumber, XBoolean, and XNull won't
compile because of a cyclic class definition error.  I think this is
because of the static methods in XObject which use those classes even
though those classes extend XObject and need it to be compiled first.  I
know that this worked before with the single static create method that
took one argument but it doesn't seem to work now.

Also, the latest change to NamespaceSupport2 which invokes a method on
an anonymous class also seems to confuse the JDK 1.1.8 compiler.

My solution was to use the Java 1.3 compiler with the "-target"
argument.  However, I noticed that we haven't used that in our
build.xml.  So, since I already use an Ant BuildListener to suppress
stuff in the CVS directories I just added a call to setTarget in there.

Shane, Myriam, Joe, Scott, etc. --- What do you do to make sure the
stuff compiles/runs in 1.1.8?

Gary

Reply via email to