This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Wanted: Help translating classpath from CMD.EXE to bash
- From: "Siegfried Heintze" <siegfried at heintze dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 31 Oct 2005 10:29:56 -0700
- Subject: Wanted: Help translating classpath from CMD.EXE to bash
Can someone help me translate this to bash? It works with CMD.EXE. java and
javac are programs for sun that are not cygwin based so I believe they want
windows style file specifications and not cygwin/bash/unix style file
specifications.
Here is the CMD.EXE script:
SET
CLASSPATH=.;c:\dev\xalan\xalan-j_2_7_0\samples\xsltcservlet.jar;c:\dev\xalan
\xalan-j_2_7_0\samples\xsltcejb.jar;c:\dev\xalan\xalan-j_2_7_0\samples\xsltc
brazil.jar;c:\dev\xalan\xalan-j_2_7_0\samples\xsltcapplet.jar;c:\dev\xalan\x
alan-j_2_7_0\samples\xalansamples.jar;c:\dev\xalan\xalan-j_2_7_0\serializer.
jar;c:\dev\xalan\xalan-j_2_7_0\xalan.jar;c:\dev\xalan\xalan-j_2_7_0\xercesIm
pl.jar;c:\dev\xalan\xalan-j_2_7_0\xml-apis.jar;c:\dev\xalan\xalan-j_2_7_0\xs
ltc.jar
javac -g ApplyXPathDOM.java
java ApplyXPathDOM foo.xml /doc/name[1]/@last
Woops -- I did not intend it to wrap!
Thanks,
Siegfried
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/