[Version management] author extensions

Are you missing a feature? Request its implementation here.
Tanking
Posts: 25
Joined: Fri Mar 20, 2009 5:28 pm

[Version management] author extensions

Post by Tanking »

hello,

If it does not already exit, would it be possible to have a method in the author extension framework to query which version of oxygen is currently used (i.e.: 11, 9.1, 10.2...).

This would allow us to create multi version frameworks without having to check each time if the new class/functions exists by reflexion.

Otherwise, if you have a cross platform way of checking the version (i.e.: not looking up the registry or the oxygen.exe), that would solve the problem too.

Thanks in advance.
jerome poupard
AMConresearch
164 Daniel St. N., Suite 202
Arnprior, Ontario
K7S 2L3
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: [Version management] author extensions

Post by Radu »

Hi,

I added your request to our internal issues list.
It will probably get set in a system property which can be queried from the author extensions.
This thread will be updated when it gets implemented.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: [Version management] author extensions

Post by Radu »

Hi,

In Oxygen 12 you will be able to get our product's version from the extensions by calling:

Code: Select all


authorAccess.getWorkspaceAccess().getVersion() 
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Tanking
Posts: 25
Joined: Fri Mar 20, 2009 5:28 pm

Re: [Version management] author extensions

Post by Tanking »

Perfect!

Thanks a lot.
jerome poupard
AMConresearch
164 Daniel St. N., Suite 202
Arnprior, Ontario
K7S 2L3
Post Reply