🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.linux
Article #183

non case-sensitive file name question

#183
From: SRG
Date: Thu, 22 Jul 2004 12:05
17 lines
1385 bytes
Interesting question:

If I create a java file called "thisismyfile.java" and the class
contained therein is called "ThisIsMyFile", JBuilder (I'm
currently using version 7) will build the project just fine.
When compiling the same file at the command line using javac, it
will not.

I was under the impression that the class name was required to
match the filename in a java environment (case included).  Why
does Jbuilder work under this situation?  How can I force it to
tell me when I have an inconsistancy between the file name and
the class name?

Thank you in advance,
S. Glasgow
Technical Details
Message-ID: <40ffad9d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 107590,1d970b69d17f6a0,start
X-Google-Attributes: gid107590,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "SRG" <srglasgow@hotmail.com>
Sender: "SRG" <srglasgow@hotmail.com>
Reply-To: "SRG" <srglasgow@hotmail.com>
Subject: non case-sensitive file name question
Newsgroups: borland.public.jbuilder.linux
X-User-Info: 198.26.125.12     
X-Forwarded-For: 192.33.5.244
NNTP-Posting-Host: 207.105.83.66
Message-ID: <40ffad9d$1@newsgroups.borland.com>
Date: 22 Jul 2004 05:05:49 -0700
X-Trace: newsgroups.borland.com 1090497949 207.105.83.66 (22 Jul 2004 05:05:49 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail