Re: for what it's worth: xml-apis.jar placement

Jacob Kjome <[email protected]> Sun, 14 Sep 2003 23:57:14 -0500
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
Hi David,

I assume you are using JDK1.3.x, right?  What version of Ant are you 
using?  You should be using at least version .1.5.x (preferably the latest 
as it fixes a number of bugs in the early versions of 1.5.x).  Now check if 
it has xml-apis.jar and xercesImpl.jar in ANT_HOME/lib.  If it doesn't 
something is odd because those jars should be there since they come with 
the distribution by default.  No need to put anything in JAVA_HOME/jre/lib/ext.

Of course if what you have is already what I have recommended above, then 
something is very odd with your environment.  Try removing xml-apis.jar 
from lib/ext and put it, and the latest xercesImpl.jar, in ANT_HOME/lib 
(assuming they aren't already there).

Let me know your results.

Jake

At 09:32 PM 9/14/2003 -0600, you wrote:
>I'm probably the only one who's encountered this... I run cygwin on 
>Windows XP.  Works darn well.  I was having a horrible time trying to 
>build the tomcat webapp under examples/tomcat in the new xmlc2.2 distribution.
>
>It wasn't until I moved the xml-apis.jar to the ext directory in the JRE 
>that I finally got the build to locate org.xml.doc.ranges.DocumentRange 
>which was kind of key to xmlc being able to load documents for compilation.
>
>I'm all ears to suggestions on how to handle this more gracefully, but at 
>least I can use the new xmlc now.
>
>David
>
>--
>David H. Young
>SAMBA Holdings, Inc.
>Chief Technology Officer
>1730 MontaƱo NW
>Albuquerque, NM 87107
>505.797.2622 x113
>http://www.samba.biz
>
>
>
>_______________________________________________
>XMLC mailing list
>[email protected]
>http://www.enhydra.org/mailman/listinfo.cgi/xmlc