Page 1 of 1

Oxygen version in Manifest

Posted: Mon Apr 20, 2020 7:40 pm
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

Re: Oxygen version in Manifest

Posted: Tue Apr 21, 2020 7:18 am
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

Re: Oxygen version in Manifest

Posted: Tue Apr 21, 2020 10:40 am
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