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