Oxygen version in Manifest

Post here questions and problems related to oXygen frameworks/document types.
Isabelle
Posts: 142
Joined: Fri Jan 20, 2017 1:11 pm

Oxygen version in Manifest

Post by Isabelle »

Hello,

We need to get the oxygen version in java and we thought using this

Code: Select all

PluginWorkspace.class.getPackage().getImplementationVersion()
But we discover that all Manifest file in oxygen jar (current version : 21.1.0.2) don't have the properties

Code: Select all

implementation-version
Is it normal ?
Why Manifest file don't have this properties?

Regards,
Isabelle
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Oxygen version in Manifest

Post by Radu »

Hi Isabelle,

We've never set the Oxygen version as a property in the manifest file. I will add an internal issue to consider this.
In the meantime maybe you can use our specific API to get the current version:

Code: Select all

PluginWorkspaceProvider.getPluginWorkspace().getVersion()
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Isabelle
Posts: 142
Joined: Fri Jan 20, 2017 1:11 pm

Re: Oxygen version in Manifest

Post by Isabelle »

Hello Radu,

Thank you for your answer.
We did not see this method.
It will be enough for our need.
Thanks.

Regards,
Isabelle
Post Reply