I build Struts with Xerces, using the version that comes with Xalan 1.2.2.
That works fine.
Also, I'm not sure what the "-C" is all about in JDK 1.3.0-C, but I believe
I saw some problems with it at some point. I'm using 1.3.0_02 now.
--
Martin Cooper
----- Original Message -----
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 22, 2001 10:55 AM
Subject: Re: Build fails on <style>
>
>
> On Fri, 22 Jun 2001, Kief Morris wrote:
>
> > Howdy, I'm trying to compile the struts build from CVS, and am
> > having major xml parser headaches. My base system is:
> >
> > Win2000 SP2
> > Sun JDK 1.3.0-C
> > Ant 1.3.0 (bin)
> >
> > For XML parser libraries I've tried JAXP 1.1 and Xerces 1.4.0, but I
> > can't seem to get Struts to compile with either one. In either case
> > it fails in line 186 of build.xml, which is the style task.
> >
>
> I build Struts on both Linux and Windows. Here is what I did:
>
> * Download and install Ant 1.3 as an application (i.e. put
> $ANT_HOME/bin on your PATH variable so you can say "ant dist"
> and things like that)
>
> * Copy the "optional.jar" file from the same place you downloaded
> Ant, and place it in $ANT_HOME/lib. This code has the <style>
> tag in it.
>
> * Download and install JAXP 1.1's three jar files, and add them to
> the CLASSPATH environment variable used when you execute Ant.
>
> * Make sure there are no other XML parsers on your CLASSPATH, or in
> your $JAVA_HOME/jre/lib/ext directory
>
> I've never tried Ant's <style> task with Xerces, but would not be
> surprised by problems. You might try it with the Apache version of Xalan
> (rather than the one that comes with JAXP).
>
> Craig McClanahan
>