logo       

command line invocation, ant task: msg#00039

java.enhydra.xmlc

Subject: command line invocation, ant task


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

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?

Thanks,

-- Mike


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise