comp.lang.ada
 help / color / mirror / Atom feed
From: Britt Snodgrass <britt.snodgrass@gmail.com>
Subject: Re: GNATBench : how can I install ?
Date: Fri, 5 Nov 2010 04:22:54 -0700 (PDT)
Date: 2010-11-05T04:22:54-07:00	[thread overview]
Message-ID: <915ba2dc-07d6-43d4-980e-448101d358e4@v12g2000vbh.googlegroups.com> (raw)
In-Reply-To: op.vlom3tfwule2fv@garhos

On Nov 5, 12:34 am, Yannick Duchêne (Hibou57)
<yannick_duch...@yahoo.fr> wrote:
>
> > A minimal GPS is not strictly required, but if there is none, you will  
> > have to edit GPR files manually. I've noticed it has automatically  
> > created a big gnatbench.dll in a subdirectory of OSGI (which is in  
> > “.configuration”).
>
> Strange : if you do, on an Ada project, a right-click, then “GNAT Project”  
> then “Edit Properties”, it invoks the old dialog box from GPS. But you may  
> also right-click on a GPR file, then you will have two options : “Open  
> with -> GNAT Project File Editor” or “Open with -> GNAT Project File  
> Extended Editor”. Three different ways to edit a same file. The Extended  
> one seems a work on progress.
>

I much prefer to edit GPR files manually with the GNATbench text
editor because its easier to keep the GPR files neat, commented, and
optimally structured.  The project file editing GUI works but it can
restructure the GPR file in ugly ways when it saves the file.  It will
often introduce unneeded case statements in every GPR package when the
project uses scenario variables.  So I only use the project editor GUI
to help discover compiler and tool switches, then I close the GUI
without saving and proceed to edit the file manually.






  reply	other threads:[~2010-11-05 11:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-04 11:41 GNATBench : how can I install ? Yannick Duchêne (Hibou57)
2010-11-04 11:47 ` Yannick Duchêne (Hibou57)
2010-11-04 19:08   ` Britt Snodgrass
2010-11-04 20:10     ` Warren
2010-11-05  4:13       ` Yannick Duchêne (Hibou57)
2010-11-05 20:49         ` Warren
2010-11-06 17:13         ` Stephen Leake
2010-11-05  4:08     ` Yannick Duchêne (Hibou57)
2010-11-05  5:34       ` Yannick Duchêne (Hibou57)
2010-11-05 11:22         ` Britt Snodgrass [this message]
2010-11-05 11:33           ` Yannick Duchêne (Hibou57)
2010-11-05 14:01       ` Britt Snodgrass
2010-11-07  1:46       ` Yannick Duchêne (Hibou57)
replies disabled

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