Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [emf] check version of EMF at runtime  () 1 Vote
[emf] check version of EMF at runtime [message #735051] Mon, 10 October 2011 19:10 Go to next message
Knut Wannheden is currently offline Knut WannhedenFriend
Messages: 298
Registered: July 2009
Senior Member
Hi all,

Is there a way to check EMF's version at runtime? In OSGi it is a simple
matter of querying the Bundle, but I'm looking for a way that will also
work in a standalone Java application.

The use case is that I would like to use BinaryResourceImpl, which has
some bugs in pre 2.6.0 releases.

Thanks,

--knut
Re: [emf] check version of EMF at runtime [message #735174 is a reply to message #735051] Tue, 11 October 2011 07:04 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Knut,

EMFPlugin.main is quite helpful. You can give it the name of a class
and it will try to determine the bundle name and version of the jar
containing that class.

On 10/10/2011 9:10 PM, Knut Wannheden wrote:
> Hi all,
>
> Is there a way to check EMF's version at runtime? In OSGi it is a
> simple matter of querying the Bundle, but I'm looking for a way that
> will also work in a standalone Java application.
>
> The use case is that I would like to use BinaryResourceImpl, which has
> some bugs in pre 2.6.0 releases.
>
> Thanks,
>
> --knut


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Support for Eclipse commands rather than actions
Next Topic:DTD/XSD for Ecore format
Goto Forum:
  


Current Time: Thu Apr 25 14:53:50 GMT 2024

Powered by FUDForum. Page generated in 0.03832 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top