delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/24/12:40:17

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
Date: Mon, 24 Jan 2000 12:55:39 -0500
From: Chris Faylor <cygwin AT sourceware DOT cygnus DOT com>
To: Craig MacFarlane <craigm AT chemconnect DOT com>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: bash, javac and that pesky slash.
Message-ID: <20000124125539.A21469@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: Craig MacFarlane <craigm AT chemconnect DOT com>,
cygwin AT sourceware DOT cygnus DOT com
References: <388C8C72 DOT 8BB82F3E AT chemconnect DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <388C8C72.8BB82F3E@chemconnect.com>; from craigm@chemconnect.com on Mon, Jan 24, 2000 at 09:31:30AM -0800

On Mon, Jan 24, 2000 at 09:31:30AM -0800, Craig MacFarlane wrote:
>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.

Is there some reason why you're asking this question here rather than
in, say a Sun javac mailing list?

FYI, even if you could do something magical to javac to cause it
to emit forward slashes, it still would not understand the //d
drive syntax since this is cygwin specific.  For an application
to understand cygwin drive specs, it would need to be linked with
the cygwin DLL.

cgf

--
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