comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Meet the new GPS...same as the old GPS...
Date: Tue, 27 Jun 2006 15:31:59 +0200
Date: 2006-06-27T15:31:59+02:00	[thread overview]
Message-ID: <4gcq77F1mpfpsU1@individual.net> (raw)
In-Reply-To: 1151343516.598780.72970@m73g2000cwd.googlegroups.com

randomm@mindless.com wrote:

> X-No-Archive: Yes
> 
> Alex R. Mosteo wrote:
>> Randall Q. Huxley III wrote:
>> > Also as with the 2005 GPL version of GPS, I cannot get it to open
>> > documentation in my browser.  Whether I specify mozilla or not, it
>> > tries to use mozilla, but for some reason mozilla doesn't open.  When I
>> > open a terminal and issue "mozilla file:///path.to.document " as shown
>> > in the GPS messages, mozilla happily opens the document.  Has anyone
>> > got this to work?!
>>
>> Interestingly enough, this used to work for me with 2005 GAP until not
>> long ago (say two months?). Then it broke (without changing gps versions)
>> as you describe, and I don't know what caused the problem, but as it
>> seems it could be some external factor. It continues not working with
>> 2006 GPL for me, in ubuntu dapper.
> 
> How did you set it up when it worked?  Did you not specify anything and
> allow it to default, or had you entered something in the browser box?

Defaults.

>> > It's difficult indeed to imagine that anyone at Adacore has spent more
>> > than five minutes looking at GPS in the last two years...
>>
>> Certainly GPS lacks the polish of other IDEs, but is not that bad IMHO.
>> I'm however interested in the Eclipse plugins, alas they're not freely
>> available. I guess that the development of GPS started at a point where
>> there was no evident alternative; if it were today it seems more fruitful
>> to customize a established IDE (like eclipse) than reinventing the wheel.
>> I don't know however how much a problem could be to use eclipse in some
>> of the supported gnat platforms...
> 
> I avoid Java like the plague that it is, so Eclipse for me is out of
> the question.  I'll be perfectly fine with Emacs if I can figure out
> how to use the Ada mode (actually Emacs comes with an Ada mode which
> seems to work pretty well, but I don't know what I'm missing from the
> one available from libre, and I don't know how to point it at the gnat
> from GPL, so I had to install gcc gnat in the normal locations to get
> Emacs to build anything).

I'm not specially thrilled by Java (the language), but my few experiences
with eclipse have been very satisfactory, even if it's a bit heavy.

If you're an Emacs beast then this is out of the question, but you can get
also a good experience with Vim and two or three plugins: the project one,
the spec/body switcher for example. I used this environment for quite some
time and also liked it. The thing I missed that GPS has is the use of .ali
files for code-jumping.

> I think GPS is really dreadful.  I haven't seen anything as bad in
> years.  It's more like pre-alpha code.  If I were a paying customer I
> would be outraged.
> 
> The main thing I'm hoping to gain from the IDE is build management for
> substantial projects.  If that's easily done in Emacs, I may forego GPS
> entirely.

Well, my build management is completely governed by the project files. I
don't think GPS has much to offer in this respect. Specially since editing
your project settings via GPS is foolish (IMO), because GPS will rewrite
your project file and fully expand the combinations of your project
external variables via case statements, which is exponential, making it
unreadable and un-editable by hand. Maybe the purpose is that you don't
have to edit them by hand, but I've always needed to do it sooner or later
so for now I avoid touching project settings from GPS.

What I do is to have my project files edited by hand, and in GPS I simply
launch the compilation of the main procedures via key bindings. Notably, if
you edit the project file outside GPS, it will detect it, re-read it and
apply the new settings automatically (even if some menus aren't updated).

In very rare cases where I have needed some pre-processing (for example to
generate resource files with awsres) I add a wrapper Makefile that does the
preprocess and invokes the compilation. There's no dependency hell since I
leave all that to gnat, so the makefiles are really small, understandable
and not bug-prone.

> If some of the vendors would make it affordable for one-man development
> startups to buy their compiler and IDE, I wouldn't mind purchasing
> something.  I certainly can't spend thousands of rand at this point.



  parent reply	other threads:[~2006-06-27 13:31 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1151320748.360707.79490@u72g2000cwu.googlegroups.com>
2006-06-26 15:49 ` Meet the new GPS...same as the old GPS Martin Krischik
     [not found]   ` <1151342956.402547.244450@p79g2000cwp.googlegroups.com>
2006-06-26 17:42     ` M E Leypold
     [not found]       ` <1151437378.281759.5280@75g2000cwc.googlegroups.com>
2006-06-27 23:06         ` M E Leypold
2006-06-28  9:23           ` Ludovic Brenta
2006-06-28 12:48             ` M E Leypold
2006-06-29 21:01               ` Ludovic Brenta
     [not found]                 ` <1151663198.061674.171420@b68g2000cwa.googlegroups.com>
2006-06-30 10:54                   ` M E Leypold
2006-06-30 15:43                 ` Stephen Leake
2006-06-30 21:57                   ` Ludovic Brenta
2006-07-01  8:46                   ` Simon Wright
     [not found]             ` <1151496846.934920.174760@x69g2000cwx.googlegroups.com>
2006-06-28 12:53               ` M E Leypold
2006-06-29 22:02                 ` Simon Wright
2006-06-28 20:01               ` Ludovic Brenta
     [not found]                 ` <1151597425.667829.326810@x69g2000cwx.googlegroups.com>
2006-06-29 17:10                   ` M E Leypold
2006-06-30 15:46                     ` Stephen Leake
2006-06-29 21:02                   ` Ludovic Brenta
2006-06-28 20:42             ` Simon Wright
2006-06-28 21:07               ` Ludovic Brenta
     [not found]           ` <1151496427.622323.141370@x69g2000cwx.googlegroups.com>
2006-06-28 12:54             ` M E Leypold
2006-06-26 16:26 ` Alex R. Mosteo
     [not found]   ` <1151343516.598780.72970@m73g2000cwd.googlegroups.com>
2006-06-26 18:09     ` M E Leypold
     [not found]       ` <1151438643.540118.175130@b68g2000cwa.googlegroups.com>
2006-06-27 22:12         ` Ludovic Brenta
2006-06-27 23:09           ` M E Leypold
2006-06-27 23:30             ` Jeffrey Creem
     [not found]       ` <1151438075.641788.269960@m73g2000cwd.googlegroups.com>
2006-06-27 23:23         ` M E Leypold
2006-06-27  6:54     ` ME
2006-06-27 13:31     ` Alex R. Mosteo [this message]
     [not found]       ` <1151417657.725848.229020@75g2000cwc.googlegroups.com>
2006-06-27 14:38         ` Alex R. Mosteo
     [not found]           ` <1151419844.957473.214400@m73g2000cwd.googlegroups.com>
2006-06-27 15:13             ` Alex R. Mosteo
2006-06-27 15:35               ` randomm
2006-06-27 11:39 ` Jeffrey Creem
2006-06-27 13:34   ` Dmitry A. Kazakov
2006-06-27 19:57     ` Björn Persson
2006-06-27 15:11   ` Pascal Obry
     [not found]   ` <1151410861.923912.302040@c74g2000cwc.googlegroups.com>
2006-06-27 22:31     ` Simon Wright
replies disabled

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