Will,

If the [style] tag is still failing, you probably still need
jakarta-ant-1.3-optional.jar in the lib directory of ANT.

Brian




                                                                                       
                            
                    "Will Jaynes"                                                      
                            
                    <wjaynes@medi        To:     <[EMAIL PROTECTED]>      
                            
                    aone.net>            cc:                                           
                            
                                         Subject:     Re: building struts              
                            
                    08/27/2001                                                         
                            
                    12:32 PM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    struts-user                                                        
                            
                                                                                       
                            
                                                                                       
                            




Thanks, Brian. I do have jaxp, crimson, and xalan on my classpath.
Unfortunately, I still get the following  error message.  Still not sure
what I
need.

---------
    [style] Failed to read stylesheet stylesheets\tld.xsl

BUILD FAILED

c:\jakarta\jakarta-struts\build.xml:215:
javax.xml.transform.TransformerConfigur
ationException: javax.xml.transform.TransformerException:
org.xml.sax.SAXExcepti
on: Namespace not supported by SAXParser
--- Nested Exception ---


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 10:47 AM
Subject: Re: building struts



Will,

Here's Craig McClanahan's message from a while back which I think addresses
your problem:

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).




                    "Will Jaynes"
                    <wjaynes@medi        To:     "struts user"
<[EMAIL PROTECTED]>
                    aone.net>            cc:
                                         Subject:     building struts
                    08/27/2001
                    08:55 AM
                    Please
                    respond to
                    struts-user






I have used anonymous CVS to bring down the struts working code, and am
trying
to build it. Can someone tell me what I need on my classpath in order to do
a
successful build?

I've set up a build.properties as per the example. But I also needed to add
jaxp.jar and crimson.jar to my classpath. Now I'm failing on the "style"
tasks,
which build the documentation. I thought that adding xalan.jar (version
2.2.D9)
to my classpath would solve this but it does not.

Regards, Will
--
William Jaynes | University of Michigan Medical School
[EMAIL PROTECTED] | 734-763-6751











Reply via email to