[Cvsnt] Cvsnt case sensitive?

Thomas Singer singer at dcs-systeme.de
Wed Apr 24 13:21:30 BST 2002


It's not a problem with the compiler. The files must be stored in jar-files
with the right name, because Java differentiates between a class Foo and a
class foo -- C(++) does it, too.

And sure, it's a limitation of CVS(nt), not of Java.

Tom


|-----Original Message-----
|From: cvsnt-admin at cvsnt.org [mailto:cvsnt-admin at cvsnt.org]On Behalf Of
|Tony Hoyle
|Sent: Wednesday, April 24, 2002 10:16 AM
|To: cvsnt at cvsnt.org
|Subject: Re: [Cvsnt] Cvsnt case sensitive?
|
|
|Brian Smith wrote:
|> Well, there is the situation that I call my file "foo.java". It won't
|> compile because the Java compiler enforces it to be called
|"Foo.java" if
|> it contains a public class named "Foo". If I checked in the file as
|> "foo.java" then everybody is screwed unless I can somehow
|change it to
|> "Foo.java".
|>
|> This is the case with Windows clients as well.
|>
|If you look for a file 'Foo.java' on Windows you'll always see it
|because windows
|isn't case sensetive.  If the java compiler is enforcing case
|sensitivity beyond that it's a bug in that compiler, because on Windows
|it's not unusual to get dodgy case on files.
|
|Tony
|
|_______________________________________________
|Cvsnt mailing list
|Cvsnt at cvsnt.org
|http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
|

_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list