Re: build problem

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Don't move xerces-1.4.4-xmlc-2.2.jar to ANT_HOME/lib.  This was only a 
requirement when we were using XMLC-2.1.  With 2.2, this is all 
fixed!  Likewise, don't copy xerces-1.4.4-xmlc-2.2.jar to 
CATALINA_HOME/common/endorsed.  You do need to copy it into 
CATALINA_HOME/shared/lib.  There aren't any more conflicts between XMLC's 
version of Xerces and Xerces2.  This means you can use a stock version of 
Ant and a stock version of Tomat with no changes other than adding some new 
jars that you might need.  You won't have to worry about removing or 
replacing jars.


In my Ant setup (BTW, I'd suggest upgrading to the latest Ant-1.5.3-1), I 
only copy junit-3.8.1.jar to ANT_HOME/lib.  I copy Xalan-2.5.0.jar to 
JAVA_HOME/jre/lib/endorsed.

In my Tomcat setup (Tomcat-4.1.24 full version), I copy 
xerces-1.4.4-xmlc-2.2.jar to CATALINA_HOME/shared/lib

That's all that needs to be done to get things working.  Note that this 
assumes that you have the Xerces2 jars that come with ANT and 
Tomcat.  Nothing that you have to change from the default installs, but if 
you have removed those previously, you'll need to copy them back in.

let me know if you have any more trouble.

Jake

At 10:25 AM 5/13/2003 -0700, you wrote:
>Hi,
>I have checked out the latest Barracuda code from CVS.
>I did following things to build Barracuda on my machine.
>
>1. Ant-1.5.1 with optional.jar file
>2. Copy the following jars from /WEB-INF/jars to ANT_HOME/lib:
>         junit-3.8.1.jar
>         xalan-2.5.0.jar
>         xerces-1.4.4-xmlc-2.2.jar
>3. ant clean at C:\Barracuda\src
>
>Unfortunately I am getting an error which is given below.
>
>C:\Barracuda\src>ant clean
>Buildfile: build.xml
>
>BUILD FAILED
>XML parser factory has not been configured correctly: Provider
>org.apache.xerces.jaxp.SAXParserFactoryImpl not found
>
>I found that package name for SAXParserFactoryImpl is
>org.enhydra.apache.xerces.jaxp in xerces-1.4.4-xmlc-2.2.jar. Please, let me
>know how to solve this problem.
>
>Thanks.
>
>Rajesh
>_______________________________________________
>Barracuda mailing list
>[email protected]
>http://barracudamvc.org/lists/listinfo/barracuda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.