Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: RE: Wanted: Help translating classpath from CMD.EXE to bash Date: Mon, 31 Oct 2005 17:12:47 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: 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 > ; > 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/