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

Matthew Hixson <[email protected]> Sun, 14 Sep 2003 22:42:51 -0700
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
Hi David,
   You're not the only one who's encountered this.  I'm on MacOS X and I  
dealt with this very same issue today.  Had some help from Google  
figuring out what .jar file I was missing from my classpath.  It would  
be nice if the XMLC package came with a shell script that would run  
XMLC and make sure that all of the relevant .jar files were in the  
classpath.
   I've written my own and placed it at /usr/local/xmlc/bin/xmlc, and it  
contains:

#!/bin/sh
export  
CLASSPATH=$CLASSPATH:/usr/local/xmlc/lib/xmlc.jar:/usr/local/xmlc/lib/ 
xhtml.jar:/usr/local/xmlc/lib/xmlc-base.jar:/usr/local/xmlc/build-lib/ 
xml-apis.jar:/usr/local/xmlc/lib/gnu-regexp.jar:/usr/local/xmlc/lib/ 
jtidy.jar
java org.enhydra.xml.xmlc.commands.xmlc.XMLC "$@"

   -M@

On Sunday, September 14, 2003, at 08:32  PM, David H. Young 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
>