delorie.com/archives/browse.cgi | search |
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 |
X-ORBL: | [209.30.128.26] |
Date: | Mon, 31 Oct 2005 11:33:02 -0600 |
From: | Wayne Willcox <wayne AT reliant DOT immure DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Wanted: Help translating classpath from CMD.EXE to bash |
Message-ID: | <20051031113302.A40390@reliant.immure.com> |
Reply-To: | Wayne Willcox <wayne AT reliant DOT immure DOT com> |
References: | <3E1FDC960FE04A4E96892B9023622A4E046B5050 AT de010369 DOT de DOT ina DOT com> <5467569 DOT 1130779831011 DOT JavaMail DOT SYSTEM AT CCC-NOVA1> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5i |
In-Reply-To: | <5467569.1130779831011.JavaMail.SYSTEM@CCC-NOVA1>; from siegfried@heintze.com on Mon, Oct 31, 2005 at 10:29:56AM -0700 |
X-Operating-System: | FreeBSD reliant.immure.com 4.4-RELEASE FreeBSD 4.4-RELEASE |
X-IsSubscribed: | yes |
If I understand your question you can convert paths to and from dos by using the cygpath command. On Mon, Oct 31, 2005 at 10:29:56AM -0700, Siegfried Heintze wrote: > 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/ -- Slowly and surely the unix crept up on the Nintendo user ... Wayne Willcox I will not eat green eggs and ham wayne AT reliant DOT immure DOT com I will not eat them Sam I Am!! A wise person makes his own decisions, a weak one obeys public opinion. -- Chinese proverb -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |