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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,168309ad531202b6 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news4.google.com!feeder.news-service.com!eweka.nl!hq-usenetpeers.eweka.nl!193.201.147.78.MISMATCH!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: GNATBench : how can I install ? Date: Sun, 07 Nov 2010 02:46:10 +0100 Organization: Ada @ Home Message-ID: References: <1717f132-4cc1-43ec-89a8-69d40a12d65d@m24g2000vbu.googlegroups.com> NNTP-Posting-Host: w00cPq0BvzOlRCSRJJEoeQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.63 (Win32) Xref: g2news1.google.com comp.lang.ada:15361 Date: 2010-11-07T02:46:10+01:00 List-Id: Le Fri, 05 Nov 2010 05:08:12 +0100, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: > I've noticed CDT only has the debugging configuration pan (Hibachi had= = > one). I did not test debugging (learned to do without). > > It handles file-name refactoring not so well as CDT does. Indeed, it = > does not handle this at all, and I get crashes when I did some test, = > like renaming an Ada file, an Ada project name, a GPR file, etc. It = > tries to rebuild a data-base, then crash and makes all Eclipse crash = > with it (it does not crash alone, I don't like that). So beware of fil= e = > renaming. Confirmed multiple times (not some erroneous operations on my own side).= = If you want to rework the layout of an Ada project (move or rename GPR = file, move or rename folder), you should either Option 1) Try to change the layout with =E2=80=9CBuild automatically unc= heck=E2=80=9D. If = something fails, try Option #2. Option 2) Exit eclipse, and do it externally, then edit the file = =E2=80=9C.gb_project=E2=80=9D to update the GPR name/path and edit the G= PR file to update = source names and paths. Reason: if you move or rename the GPR file from within Eclipse, while = =E2=80=9CBuild automatically is on=E2=80=9D, it will raise an error abou= t a null pointer, = probably a failure while it tries to access the GPR file (seems the desi= gn = here is not safe). If to solve it, yf you want to update the GPR file = location in =E2=80=9CProperties=E2=80=9D -> =E2=80=9CGNATBench Propertie= s=E2=80=9D, the whole Eclipse will = crash at the exact time you click on =E2=80=9CGNATBench Properties=E2=80= =9D. If this = occurs, you have no chance to solve it from Eclipse, you would better ed= it = the =E2=80=9C.gb_project=E2=80=9D in the project directory. If GNATBench encounters an error while running an external tool, like = gnatmetric or gnatpp, then it will leave some folders named =E2=80=9CGNA= T-aNNNN=E2=80=9D = in the project directory. If you see some, you can safely remove these, = = these are not required directories created by GNATBench, these are reall= y = temporaries left there after a crash. Except that boring instabilities that can probably be fixed in GNATBench= , = this works fine (I mean, GNATBench is useful and helpful). -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9CI am fluent in ASCII=E2=80=9D [Warren 2010]