[Cvsnt] Cvsnt case sensitive?

Brian Smith brian-l-smith at uiowa.edu
Thu Apr 25 02:57:14 BST 2002


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Tony Hoyle wrote:
> Brian Smith wrote:
>
>> The Java compiler's checks on file name case are designed to allow us to
>> build platform-independent applications. For somebody new to Java, it
>> surely seems strange that "foo.java" doesn't mean the same thing as
>> "Foo.java" on Windows and Mac OS X, but the Javac compiler is just
>
>
> I had a talk with the java people here and they assure me that javac is
> not case sensitive, but that the resulting .class files are.  It would
> only be a problem if you were storing the .class files under CVS and
> somehow renaming them before commiting them in.

E:\brian\projects\>copy con foo.java
public class Foo { }
^Z
         1 file(s) copied.

E:\brian\projects\>javac foo.java
foo.java:1: class Foo is public, should be declared in a file named Foo.java
public class Foo { }
        ^
1 error

_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook