RE: Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Siegfried Heintze
anski [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 9:06 PM To: Siegfried Heintze Cc: cygwin@cygwin.com Subject: RE: Wanted: Help translating classpath from CMD.EXE to bash On Mon, 31 Oct 2005, Siegfried Heintze wrote: > Thanks Igor! > > > As someone mentioned, you can use "

RE: Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Igor Pechtchanski
On Mon, 31 Oct 2005, Siegfried Heintze wrote: > 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 ":" t

Re: Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Larry Hall (Cygwin)
On 10/31/2005, Siegfried Heintze wrote: >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

RE: Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Siegfried Heintze
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 ":", wh

Re: Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Igor Pechtchanski
On Mon, 31 Oct 2005, 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. > > He

Re: Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Wayne Willcox
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

Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Siegfried Heintze
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\xa