From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,be9ede6456a2a7ea X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!cyclone1.gnilink.net!gnilink.net!nx01.iad.newshosting.com!newshosting.com!newspeer.monmouth.com!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: GNATBench 2.1.0 (free) and file/procedure naming case Date: Tue, 10 Mar 2009 13:28:16 +0100 Organization: Adalog Message-ID: <2dm5pg.h8m.ln@hunter.axlog.fr> References: NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1236681875 9708 195.25.228.57 (10 Mar 2009 10:44:35 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Tue, 10 Mar 2009 10:44:35 +0000 (UTC) User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: Xref: g2news2.google.com comp.lang.ada:4986 Date: 2009-03-10T13:28:16+01:00 List-Id: John McCabe a �crit : > However the latest thing I have is that GNATBench doesn't appear to > maintain the casing I use for files/folders and procedure. For > example, I put in TestAdaProj as the project name and MyMain as the > main procedure and it creates folders and files called testadaproj and > mymain.adb respectively. Is there something I've done wrong here that > anyone can think of. > Maybe you are confused between unit names and file names. In the Ada world, we care about units (the content), not so much about files (the container). In the case of Gnat, it has precise rules for matching unit names with file names, and it requires all *file* names to be lowercase. This is because case is not significant in Ada; there must be some convention to make sure that BLAH Blah and bLaH all fetch the same file - here blah.ads. In short: name your units as you please, and let the environment choose the appropriate file name for you. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr