>> Later, I found out that generating a .gpr project file that extends the
>> top-level project file was the wrong approach.  As soon as a developer
>> checks a file out of a lower-level project, gnat find and gnat ls
>> complain that a source file cannot belong to two projects (one copy of
>> the file is in the developer's view and belongs to the generated,
>> extending project, and another copy is in the read-only baseline and
>> belongs to the baseline project which is not top-level), so navigation
>> is again broken.  So, I've reverted to generating an Ada mode project
>> path instead and it seems to work like a charm, so far.
> 
> Something you can't do in GPS; Emacs to the rescue :).


Unless you look up "extends all" in the documentation for project files :-)

Ludovic, you need to extend the project that contains the file you are
trying to override (not simply put it in the context of your root extension).

regards
Emmanuel

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to