From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5355e4a180d9f6be X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!q78g2000hsh.googlegroups.com!not-for-mail From: Britt Snodgrass Newsgroups: comp.lang.ada Subject: Re: Eclipse & gnatbench Date: Fri, 7 Mar 2008 21:48:48 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <63am2uF26pon2U1@mid.individual.net> <6e28be91-ae4a-4ff2-8c2f-0b862452fc3e@p73g2000hsd.googlegroups.com> <63cl8jF262riuU2@mid.individual.net> NNTP-Posting-Host: 75.167.223.14 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1204955328 23395 127.0.0.1 (8 Mar 2008 05:48:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 8 Mar 2008 05:48:48 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q78g2000hsh.googlegroups.com; posting-host=75.167.223.14; posting-account=rdRzuwoAAAAyW3CSBhs_xgfCUJSc1aNt User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20232 Date: 2008-03-07T21:48:48-08:00 List-Id: On Mar 7, 4:55=A0am, "Alex R. Mosteo" wrote: > Britt Snodgrass wrote: > > On Mar 6, 12:10=A0pm, Eric Hughes wrote: > >> On Mar 6, 9:56 am, "Alex R. Mosteo" wrote: > > >> > I'm trying to evaluate gnatbench and I'm failing miserably. I have a = stock > >> > Eclipse Classic 3.3.2 freshly installed and gnat GPL 2007 installed a= nd > >> > well tested. > > >> Gnatbench requires that CDT be installed prior. =A0That tidbit was in > >> one of the few bits of documentation I read about it. =A0Not a problem > >> for me, as I already had it in place. > > >> > Gnatbench comes without any documentation I could find. Has anyone he= re > >> > tried it? Care to share some pointers? > > >> Installation worked fine for me. =A0I'm not using it because, > >> apparently, it has no way of dealing with alternate source naming > >> conventions. =A0I don't use GNAT's default ".ads" and ".adb"; I can't > >> discriminate between them quick enough on the screen. =A0If you're not > >> customizing your environment that way, perhaps it will work for you. > > >> Eric > > > I have the newly released 2.1.0 version at work. Its very good. It > > handles the Apex naming convention (i.e., *.1.ada & *.2.ada) just fine > > if the GNATbench project's .gpr file specifies it *and* if the > > internal Eclipse file association preferences are updated to associate > > the .ada extension with the GNATbench Ada editor (in addition to .ads > > and .adb). > > > Documentation is installed along with the plug-in and is available via > > Eclipse's Help -> help Contents menu. > > Thanks, Britt. Incidentally, have you used GPS? If so, which one do you pr= efer? > I'm a long-time GPS user but have never grown totally comfortable to it.- = Hide quoted text - > > - Show quoted text - I've only started using GPS recently. I like it pretty well but I prefer Eclipse with the new GNATbench. A good thing about GPS and GNATbench is that they can both use the same .gpr file. I tend to use GPS now when I want to take a quick look at a file (GPS launches faster than Eclipse). I usually launch GPS by either double-clicking the .gpr file or by using a Windoze shortcut to launch "gps.exe -P my_project.gpr" It doesn't make much sense to use either GPS or GNATbench outside the context of a GNAT project file. Another advantage of GPS is that it doesn't require a JVM and it seems more stable. Eclipse is a little flakey and prone to sudden crashes (unhandled Java exceptions). My favorite general purpose text editor is TextPad 4.7.3 (not buggy 5.x). Its fast, has a very clean interface, and its easy to integrate all the GNAT command line tools (gnatmake, gnatpp, etc.) as TextPad external tools. - Britt