delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/31/12:32:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Siegfried Heintze" <siegfried AT heintze DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Wanted: Help translating classpath from CMD.EXE to bash
Date: Mon, 31 Oct 2005 10:29:56 -0700
MIME-Version: 1.0
In-Reply-To: <3E1FDC960FE04A4E96892B9023622A4E046B5050@de010369.de.ina.com>
Message-ID: <5467569.1130779831011.JavaMail.SYSTEM@CCC-NOVA1>
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019