Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: GnatBench (...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 15 of 36 Topic 5613 of 5697
Post > Topic >>

Re: GnatBench (from GPL edition)

by Britt Snodgrass <britt.snodgrass@[EMAIL PROTECTED] > Mar 26, 2008 at 07:35 AM

On Mar 26, 5:19 am, John McCabe <j...@[EMAIL PROTECTED]
> 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




 36 Posts in Topic:
GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-20 16:35:04 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-20 16:46:47 
Re: GnatBench (from GPL edition)
Britt Snodgrass <britt  2008-03-20 15:08:16 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-25 18:06:25 
Re: GnatBench (from GPL edition)
Eric Hughes <eric.eh9@  2008-03-31 21:19:54 
Re: GnatBench (from GPL edition)
Britt Snodgrass <britt  2008-03-25 13:32:17 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-25 21:17:34 
Re: GnatBench (from GPL edition)
Simon Wright <simon.j.  2008-03-26 21:07:29 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-26 22:05:53 
Re: GnatBench (from GPL edition)
Stephen Leake <Stephe.  2008-03-27 05:07:30 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-27 10:08:47 
Re: GnatBench (from GPL edition)
Stephen Leake <Stephe.  2008-03-28 20:28:20 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-29 23:10:21 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-26 10:19:41 
Re: GnatBench (from GPL edition)
Britt Snodgrass <britt  2008-03-26 07:35:48 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-26 18:14:03 
Re: GnatBench (from GPL edition)
Britt Snodgrass <britt  2008-03-26 07:40:32 
Re: GnatBench (from GPL edition)
Britt Snodgrass <britt  2008-03-28 19:48:30 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-29 23:32:50 
Re: GnatBench (from GPL edition)
"Dmitry A. Kazakov&q  2008-03-30 10:24:47 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-31 15:23:24 
Re: GnatBench (from GPL edition)
"Dmitry A. Kazakov&q  2008-03-31 18:12:55 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-03-31 17:43:02 
Re: GnatBench (from GPL edition)
"Randy Brukardt"  2008-03-31 19:09:55 
Re: GnatBench (from GPL edition)
Georg Bauhaus <rm.tsoh  2008-04-01 09:39:00 
Re: GnatBench (from GPL edition)
"Randy Brukardt"  2008-04-01 14:52:58 
Re: GnatBench (from GPL edition)
"Randy Brukardt"  2008-04-01 14:58:33 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-04-02 22:03:16 
Re: GnatBench (from GPL edition)
"Randy Brukardt"  2008-04-02 22:20:53 
Re: GnatBench (from GPL edition)
"Dmitry A. Kazakov&q  2008-04-03 09:35:35 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-04-03 11:20:35 
Re: GnatBench (from GPL edition)
"Randy Brukardt"  2008-04-03 21:20:51 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-04-04 23:50:48 
Re: GnatBench (from GPL edition)
Steffen Huber <spam@[E  2008-04-03 12:14:42 
Re: GnatBench (from GPL edition)
Pascal Obry <pascal@[E  2008-04-01 19:06:14 
Re: GnatBench (from GPL edition)
John McCabe <john@[EMA  2008-04-29 10:34:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 21:29:45 CDT 2008.