logo       

Re: xmlc program from binary download?: msg#00043

java.enhydra.xmlc

Subject: Re: xmlc program from binary download?


The XMLC command is run via a batch file ( .bat on windows, .sh on Unix )....or you can run it directly via the "java" command.  Here is a sample .bat file that I used a long time ago.  I haven't tested it of late, but here it is....

@echo off
rem xmlc.bat -- Script for running enhydra's xmlc

set _CP=%CP%

rem Identify the custom class path components we need
set CP=%XMLC_HOME%\lib\xmlc.jar
set CP=%CP%;%JAVA_HOME%\lib\tools.jar

rem Execute XMLC
java -classpath %CP% org.enhydra.xml.xmlc.commands.xmlc.XMLC %1 %2 %3 %4 %5 %6 %7 %8 %9

set CP=%_CP%
set _CP=

You'll have to add the other required jars to the built-up classpath, but this shows the basics.  BTW, you don't need Enhyda5 for doing XMLC stuff.  Just use David's latest Alpha release with Tomcat for simplicity.  If you decide that Enhydra5 is for you, then that's fine, but I have no experience with it.

Jake

At 05:26 PM 3/9/2003 -0800, you wrote:
hi, trying to get the samples in jason hunters servlet book running. he says to use the xmlc command. cant' seem to find that as the binary download seems to consist of just some jars with mostly class files.

i did download the enhydra source 5.0, but i am getting lost in there.

is there some additional doc for xmlc that i am missing?

where can i find the xmlc command? (do i need the enhydra app server to get this)

is the ant task documented anywhere?

thanks

thanks

---
ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work
vice chair orange county java users group http://www.ocjug.org/
hate spam? http://samspade.org/ssw/

_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise