On Saturday, Nov 16, 2002, at 03:20 Asia/Shanghai, Michael Muller wrote:
I'm just getting started with xmlc. I downloaded xmlc.jar and
unpacked it into /opt. I created a /usr/local/bin/xmlc that looks
like this:
#~/bin/bash
$JAVA_HOME/bin/java \
-cp \
/opt/xmlc/xmlc.jar:\
xerces-1.4.4-xmlc.jar:\
/opt/xmlc/gnu-regexp-1.1.4.jar \
org.enhydra.xml.xmlc.commands.xmlc.XMLC "$@"
I get this:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xerces/dom/DocumentImpl
If the above is your xmlc, you missed the directory for
xerces-1.4.4-xmlc.jar, it should be /opt/xmlc/xerces-1.4.4-xmlc.jar.
Also, separate topic: I plan to use Ant, is there an "official"
implementation of an ant task for xmlc? I found one posted to the
mailing list by Chris Kakris two years ago. Did this or amy other
implementation get encorporated into xmlc?
Try the one from Barracuda (barracuda.enhydra.org). It's the most
actively maintained ant task for XMLC. We may bundle it in the next
release of XMLC.
David
|
|