delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/02/17:13:09

From: Ivan DOT Herman AT cwi DOT nl (Ivan Herman)
Subject: problems with capitalized names (WNT)
2 Jul 1998 17:13:09 -0700 :
Message-ID: <359B5569.A249B8B0.cygnus.gnu-win32@cwi.nl>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

I know there is a related issue in the mailing list, but it is not exactly
the same...

I experienced the problem with Javac (Sun's Java compiler): Java has the
feature that a file has to have exactly the same name as the class name it
describes. 'Exactly' means case sensitive file name: ie, if I have the
class 'Test', it should be in the file 'Test.java', and not 'TEST.java',
etc.

If I run the DOS prompt in WNT, and I run 'javac Test.java' from the
command line, everything is o.k. If I run the same from bash, the java
compiler complains that it does not find the right class. My impression is
that when bash makes an 'exec' for javac, and it forwards the file names as
arguments, it does something with the file names in capitalizing them (or
putting them all lower case). If this is the case, then this leads to the
problems with Java. Is it possible to change this, or is it possible to set
this as an option for Bash?

Ivan

P.S. Bash is a wonderful tool on WNT, I love it!




--
Ivan Herman
Centre for Mathematics and Computer Sciences (CWI)
Kruislaan 413, 1098 SJ Amsterdam, The Netherlands
tel: +31-20-592.4163    fax: +31-20-5924199
http://www.cwi.nl/~ivan


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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