delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/24/19:01:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <003001bf66c9$13184300$e044480c@hxzcw>
From: "Paul Johnston" <johnston DOT p AT worldnet DOT att DOT net>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: bash, javac and that pesky slash.
Date: Mon, 24 Jan 2000 16:13:56 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4

Strange, I'm using cygwin with jdk1.2.2/1.2.1/1.1.8 and have been happily
backslash-free on my NT box.  Javac understands normal unix-style path
separators for me...

$ javac -d /home/me/lib/java Foo.java Bar.java

why the 2 leading solidii in your -d example?

Paul

-----Original Message-----
From: Craig MacFarlane <craigm AT chemconnect DOT com>
To: cygwin AT sourceware DOT cygnus DOT com <cygwin AT sourceware DOT cygnus DOT com>
Date: Monday, January 24, 2000 9:32 AM
Subject: bash, javac and that pesky slash.


>
>Sun's javac, in jdk1.2.1, seems to change the
>forward slashes used by bash to backward slashes
>used by windows.
>
>e.g.
>
>  bash-2.02% javac -d //d/destdir/classes foo.java
>
>produces the error message
>
>  The \\d\destdir\classes directory does not exist.
>
>Is there any way to use javac with bash
>while specifying destination dirs for your classes?
>It appears as though javac is trying to be too smart
>by substituting slashes.
>
>Thanks,
>Craig
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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