Does gnatbench (Eclipse Ada plugin from Ada Core Technologies) work at all?

Does gnatbench (Eclipse Ada plugin from Ada Core Technologies) work at all?

Post by ramon_garc » Thu, 14 Oct 2010 01:47:50


I have tried gnatbench from libre.adacore.com. It can't load at all in
Eclipse. Looking at the software, it looks like the versions of the
plugins are broken. Bellow is what I found. Can anyone confirm that
the public version downloaded from libre.adacore.com works? I reported
the problem to Adacore, but unfortunately I received a rather rude
denial, without any reasoning of the evindence. I find rather
suprising that there is no community of users, or at least googling
for gnatbench finds nothing.

There is a mixture of version numbers 2.4.0.20091211 and 2.4.0. For
instance, the feature com.adacore.gnatbench_2.4.0.20091211.jar , if we
extract the file feature.xml we find that it includes the plugin:

<plugin
id="com.adacore.gnatbench.core"
download-size="0"
install-size="0"
version="2.4.0.20091211"/>

But the plugin itself, com.adacore.gnatbench.core, if we look at the
META-INF/MANIFEST.MF, we find that its version is

Bundle-Version: 2.4.0

This was only an example. The versions referenced in this feature are:

com.adacore.gnatbench.core 2.4.0.20091211
com.adacore.gnatbench.doc.user 2.4.0.20091211
com.adacore.gnatbench.library 2.4.0.20091211
com.adacore.gnatbench.library.win32.x86 0.0.0
com.adacore.gnatbench.library.linux.x86 0.0.0
com.adacore.gnatbench.library.linux.x86_64 0.0.0
com.adacore.gnatbench.library.solaris.sparc 0.0.0
com.adacore.gnatbench.ui 2.4.0.20091211
com.adacore.gnatbench.doc.user.standard 2.4.0.20091211
com.adacore.gnatbench.startup 0.0.0

All these plugins are present with version 2.4.0, rather that these
versions 0.0.0 or 2.4.0.20091211.
 
 
 

Does gnatbench (Eclipse Ada plugin from Ada Core Technologies) work at all?

Post by Britt Snod » Thu, 14 Oct 2010 02:36:09

Which OS and Eclipse+CDT versions are you using? At work, I use
GNATbench 2.4.0 on Windows XP SP3 with Eclipse 3.5.2 and CDT 6.0.2.
This is the commercially supported download and it works fine.

Which directory did you install GNATbench in?

I have previously used the libre download version at home (on Windows
XP) without problems.

- Britt

 
 
 

Does gnatbench (Eclipse Ada plugin from Ada Core Technologies) work at all?

Post by ramon_garc » Thu, 14 Oct 2010 02:55:50

I tried with Eclipse 3.5.2, with CDT 6.0.2 under Ubuntu Linux x64. I
tried installing it in /opt/gnatbench.

Thanks, I will try under windows.
 
 
 

Does gnatbench (Eclipse Ada plugin from Ada Core Technologies) work at all?

Post by ramon_garc » Thu, 14 Oct 2010 03:00:36


Please, could you post the file feature.xml inside the file features/
com.adacore.gnatbench[version].jar, and the file META-INF/MANIFEST.MF
from plugins/com.adacore.gnatbench.core[version].jar ?
 
 
 

Does gnatbench (Eclipse Ada plugin from Ada Core Technologies) work at all?

Post by Stephane C » Fri, 15 Oct 2010 06:30:53

Hi!



I'm using gnatbench 2.4.0 on Eclipse 3.5.2 build M20100211-1343
under Linux Ubuntu. It works quite well. Sometimes it crashes
in the gnatbench native library but it's better than GPS so I manage with that.

Recently I installed the Google Androide SDK plugin and after that my gnatbench
plugin didn't worked. I had to remove that plugin and repair my broken workspace
for gnatbench to work again.

To investigate the problem on you side you can run eclipse with -debug
option and also have a look at the '.metadata/.log' file in your workspace.

OTOH you're saying it doesn't work without telling us what error you get.

Stephane
 
 
 

Does gnatbench (Eclipse Ada plugin from Ada Core Technologies) work at all?

Post by ramon_garc » Fri, 15 Oct 2010 07:37:35

Are you using the free version from libre.adacore.com, or the
comercial version?

Now testing under Windows.

Basically after installing it looks as if nothing is installed. Except
the help contents, there is nothing else. Help->About->Installation
details show no feature or plugin with id com.adacore.*.

As a workaround, I told eclipse to add as a directory extension the
installation directory of gnatbench. This is done in Eclipse->Software
Updates->Manage Configuration. (This menu entry does not exist by
default, one has to enable the capability "Classic Update" in
Preferences->General->Capabilities)

In addition, I had to touch the file .eclipseextension in the eclipse
subdirectory of the

Now, in the status of the feature GNATBench the following messages are
shown:

Plug-in "com.adacore.gnatbench.core" version "2.4.0.20091211"
referenced by this feature is missing.

Plug-in "com.adacore.gnatbench.doc.user" version "2.4.0.20091211"
referenced by this feature is missing.

Plug-in "com.adacore.gnatbench.library" version "2.4.0.20091211"
referenced by this feature is missing.

Plug-in "com.adacore.gnatbench.library.win32.x86" version "0.0.0"
referenced by this feature is missing.

Plug-in "com.adacore.gnatbench.ui" version "2.4.0.20091211" referenced
by this feature is missing.

Plug-in "com.adacore.gnatbench.doc.user.standard" version
"2.4.0.20091211" referenced by this feature is missing.

Plug-in "com.adacore.gnatbench.startup" version "0.0.0" referenced by
this feature is missing.


So I check the versions of the plugins, and find that that the
versions requested by the feature do not match the actual versions of
the plugins.
 
 
 

Does gnatbench (Eclipse Ada plugin from Ada Core Technologies) work at all?

Post by ?utf-8?Q?Y » Tue, 26 Oct 2010 05:58:54

Le Tue, 12 Oct 2010 18:47:50 +0200, ramon_garcia
< XXXX@XXXXX.COM > a crit:


This may not help you, but you may have a look at
http://www.yqcomputer.com/
This is not the same, I suggest this one as an alternative only if ever
you cannot go wrong with GNATBench (never tried GNATBench on my own side).
Your choice may depends on the features you are requesting.


--
Si les chats miaules et font autant de vocalises bizarres, cst pas pour
les chiens.