comp.lang.ada
 help / color / mirror / Atom feed
From: "Peter C. Chapin" <PChapin@vtc.vsc.edu>
Subject: Re: Question about GNAT project files.
Date: Wed, 29 Feb 2012 12:17:58 -0500
Date: 2012-02-29T12:17:58-05:00	[thread overview]
Message-ID: <dp6dnWyD4cpbwNPS4p2dnAA@giganews.com> (raw)
In-Reply-To: <MPG.29b867709ff9a76a989690@news.zen.co.uk>

On 2012-02-29 11:49, Phil Thornley wrote:

> The problem probably arises because the Windows version of the Examiner
> used to use '/' as the marker for each command qualifier.  This has now
> been changed to '-' in line with the Unix version.
>
> I would encourage you to report the different behaviour of the '/' in
> the command-line and spark.sw versions as this looks like a bit of the
> Examiner that hasn't been correctly upgraded for that change.
> It would explain why
> -index_file=src/spark.idx
> results in "spark.idx is an invalid command line option." on Windows

I actually I spoke too soon. A command line such as

spark -index_file=src/spark.idx ...

doesn't work (on Windows) either. So in fact the command line behavior 
and the spark.sw behavior is consistent after all. On the other hand, 
this might not be intended behavior with respect to path delimiters.

I could work around this with GPS by using scenario variables... using 
different path delimiters depending on the development platform. 
Unfortunately the direction of project overrides is wrong: the 
subproject's settings overrides the master project's settings (which 
generally makes sense to me).

Reporting an issue on SPARK is reasonable but I still think the 
fundamental problem is with GPS. When I have a master project loaded, it 
lets the subproject's settings override the master settings but when I 
invoke a command on the subproject it doesn't set up the subproject 
environment properly (working folder in this case). GPS is overriding 
master settings without overriding the master environment. That sounds 
like the root cause of my difficulties.

Peter



      reply	other threads:[~2012-02-29 17:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-26 19:48 Question about GNAT project files Peter C. Chapin
2012-02-26 20:15 ` Dmitry A. Kazakov
2012-02-26 22:18 ` Greg Moncreaff
2012-02-27 13:41   ` Peter C. Chapin
2012-02-28 16:59     ` Yannick Duchêne (Hibou57)
2012-02-28 18:10       ` AdaMagica
2012-02-28 18:14       ` Simon Wright
2012-02-27 13:08 ` Ludovic Brenta
2012-02-27 13:43   ` Peter C. Chapin
2012-02-27 15:27   ` Simon Wright
2012-02-28  2:02   ` Peter C. Chapin
2012-02-28  6:56     ` Phil Thornley
2012-02-29  0:04       ` Peter C. Chapin
2012-02-29  9:18         ` Phil Thornley
2012-02-29 14:51           ` Peter C. Chapin
2012-02-29 16:49             ` Phil Thornley
2012-02-29 17:17               ` Peter C. Chapin [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