comp.lang.ada
 help / color / mirror / Atom feed
From: Britt Snodgrass <britt.snodgrass@gmail.com>
Subject: Re: GnatBench (from GPL edition)
Date: Wed, 26 Mar 2008 07:35:48 -0700 (PDT)
Date: 2008-03-26T07:35:48-07:00	[thread overview]
Message-ID: <7423d35d-f220-4231-ab6d-2dc9933a0ec9@z38g2000hsc.googlegroups.com> (raw)
In-Reply-To: 4c8ku3lusgrhj4cg3fbltpe38fnns571ij@4ax.com

On Mar 26, 5:19 am, John McCabe <j...@nospam.assen.demon.co.uk> wrote:
>>
> What is a .gb_project file? I don't have one of those.
>

I think the lack of a .gb_project file may be cause of your problem.
The GNATbench Ada project wizard is supposed to create a .gb_project
file in addition to the .project and .cproject files.

In your case it should look something like the following"

xml version="1.0" encoding="UTF-8" standalone="no"?
><Root><Properties><com.adacore.gnatbench.isRootProject>true</
com.adacore.gnatbench.isRootProject><com.adacore.gnatbench.gprPath>AdaStartProj.gpr</
com.adacore.gnatbench.gprPath></Properties><Scenarios><BUILD>MF</
BUILD></Scenarios></Root>

all on one long line.  The "gprPath" part in the middle can contain
either an absolute path to your .project file or a relative path,
relative to the location of the .project file (i.e. the location of
the Eclipse project.

My example above was created with GNATbench 2.1.0.

My .project file doesn't contain any special arguments in the
gnatbench builder section.  I think those are always specified either
in the Makefile itself or in the .gpr file.

Here's the strange part.  I spent about 20 minutes last night setting
up Eclipse 3.3.2, CDT 3.1.2 and GNATbench 2.0.1 again.  When I created
a "Hello World" Ada project I encountered almost the same problem
you're having - no .gb_project file - and also an error message about
not being able to execute gnatls (even though gnatls can be found my
Windows system path).  I'm pretty sure this all worked last fall when
I last used GNATbench 2.0.1 but its not working now.  I suspect it is
an installation problem but I may not have time to investigate it
before next week.  I'll let you know.

- Britt



  reply	other threads:[~2008-03-26 14:35 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-20 16:35 GnatBench (from GPL edition) John McCabe
2008-03-20 16:46 ` John McCabe
2008-03-20 22:08   ` Britt Snodgrass
2008-03-25 18:06     ` John McCabe
2008-03-25 20:32       ` Britt Snodgrass
2008-03-25 21:17         ` John McCabe
2008-03-26 21:07           ` Simon Wright
2008-03-26 22:05             ` John McCabe
2008-03-27  9:07               ` Stephen Leake
2008-03-27 10:08                 ` John McCabe
2008-03-29  0:28                   ` Stephen Leake
2008-03-29  2:48                     ` Britt Snodgrass
2008-03-29 23:32                       ` John McCabe
2008-03-30  8:24                         ` Dmitry A. Kazakov
2008-03-31 14:23                           ` John McCabe
2008-03-31 16:12                             ` Dmitry A. Kazakov
2008-03-31 16:43                               ` John McCabe
2008-04-01  0:09                         ` Randy Brukardt
2008-04-01  4:19                           ` Eric Hughes
2008-04-01  7:39                           ` Georg Bauhaus
2008-04-01 19:52                             ` Randy Brukardt
2008-04-01 19:58                             ` Randy Brukardt
2008-04-02 21:03                           ` John McCabe
2008-04-03  3:20                             ` Randy Brukardt
2008-04-03  7:35                               ` Dmitry A. Kazakov
2008-04-03 10:20                               ` John McCabe
2008-04-04  2:20                                 ` Randy Brukardt
2008-04-04 22:50                                   ` John McCabe
2008-04-03 10:14                           ` Steffen Huber
2008-04-01 17:06                         ` Pascal Obry
2008-03-29 23:10                     ` John McCabe
2008-03-26 10:19         ` John McCabe
2008-03-26 14:35           ` Britt Snodgrass [this message]
2008-03-26 14:40             ` Britt Snodgrass
2008-03-26 18:14             ` John McCabe
2008-04-29  9:34 ` John McCabe
replies disabled

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