comp.lang.ada
 help / color / mirror / Atom feed
From: "Brian Gaffney" <brianDOTgaffney@myrealbox.com>
Subject: Re: GNATBench 2.1.0 (free) and file/procedure naming case
Date: Mon, 16 Mar 2009 15:19:25 -0500
Date: 2009-03-16T15:19:25-05:00	[thread overview]
Message-ID: <Qryvl.16396$i9.16285@bignews8.bellsouth.net> (raw)
In-Reply-To: a0kcr49vefr9gcocl7aonis52rrbjm3gu5@4ax.com

I haven't used GNATBench, but part of the problem may be that the GNAT tools 
on Windows convert file names to lowercase.  Long ago, using different cases 
(i.e. on command line calls) would cause internal GNAT errors.  The same 
issue did not impact Linux (etc).

With the standard GNAT tools, the files they create are lowercase, but they 
will find files of any case.  I don't know if if manually renaming the files 
would work here.

"John McCabe" <john@nospam.assen.demon.co.uk> wrote in message 
news:a0kcr49vefr9gcocl7aonis52rrbjm3gu5@4ax.com...
> On Mon, 9 Mar 2009 12:50:59 -0700 (PDT), britt.snodgrass@gmail.com
> wrote:
>
> Hi Britt,
>
>>On Mar 9, 10:41 am, John McCabe <j...@nospam.assen.demon.co.uk> wrote:
>>
>>>
>>> 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.
>
>>Try putting the following in your GPR file:
>
>>package Naming is
>>   for Casing use "mixedcase";  --  otherwise, default is "lowercase"
>>end Naming;
>
>>This is described in the GNAT User's Guide (section 11.11, Naming
>>Schemes).
>
>>I haven't tried this myself since I use GNAT's default naming
>>conventions.  Regarding GPR files, I've found it better to edit them
>>manually (in Eclipse) rather than use the GNATbench (or GPS) project
>>properties editor.
>
> For what it's worth, chances are that may work fine, but this issue
> happens when creating a project from Eclipse. If I then set that value
> and rename all my files and folders to what I wanted in the first
> place, the Ada Project Explorer in Eclipse gets totally lost.
>
> It's so phenomenally frustrating; I can't see that I'm doing anything
> particularly odd or unusual, yet every time I try to use GNATBench it
> just seems to put all sorts of obstacles in my way instead of just
> working!
>
> Maybe it's just me!
>
>>> Has anyone got any idea what's happening with Hibachi? That seems to
>>> have gone completely dead.
>
>>I lurk on the Hibachi mailing list. List traffic dropped to near zero
>>long ago, so it is effectively dead.
>
> Oh dear. Seemed like such a good idea.
>
>>I don't miss it. GNATbench is
>>much better if you are using GNAT as your compiler.
>
> You're using the paid for version though aren't you? Perhaps that just
> works better! 





      parent reply	other threads:[~2009-03-16 20:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-09 15:41 GNATBench 2.1.0 (free) and file/procedure naming case John McCabe
2009-03-09 19:50 ` britt.snodgrass
2009-03-10 11:38   ` John McCabe
2009-03-10 12:28     ` Jean-Pierre Rosen
2009-03-10 21:27       ` sjw
2009-03-11  8:34         ` Jean-Pierre Rosen
2009-03-16 20:19     ` Brian Gaffney [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox