delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/31/19:13:03

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: RE: Wanted: Help translating classpath from CMD.EXE to bash
Date: Mon, 31 Oct 2005 17:12:47 -0700
MIME-Version: 1.0
In-Reply-To: <Pine.GSO.4.63.0510311333040.28242@slinky.cs.nyu.edu>
Message-ID: <15567636.1130803860651.JavaMail.SYSTEM@CCC-NOVA1>
X-IsSubscribed: yes

Thanks Igor!

> As someone mentioned, you can use "cygpath -p" to convert a POSIX-style
> path into a Win32-style one.

I think I need to go the other way. Given a CLASSPATH variable in windows,
how do I convert it to cygwin? Do I use ":" to separate the elements, or do
I use "\;". If I use ":", what about the windows device names?

It seems to me this should have worked, but it does not:
 * CLASSPATH=.\;c:\\dev\\xalan\\xalan-j_2_7_0\\xsltcservlet.jar\;others
 * export $CLASSPATH
 * echo ${CLASSPATH}
 * javac myprogram.java

> 
> Alternatively, you can try using my java wrapper scripts that will do the
> translation automatically for you (the scripts can be found at
> <http://cygwin.com/cgi-bin/cvsweb.cgi/wrappers/java/?cvsroot=cygwin-apps>;
> you'll need to edit the scripts to point them to your Java installation
> directory).
> 

OK, is there any documentation? What kind of wrappers are these? I have
never heard of bash wrappers before. (hmmm... bash wrappers, sounds like a
new genre of music! -- maybe something like slam dancing?)

How about an example? That would probably suffice.

Well, even if I get Igor's bash wrappers to work, I'm kinda curious why my
attempt did not.

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