Page 1 of 1

[Version management] author extensions

Posted: Wed Mar 24, 2010 5:03 pm
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.

Re: [Version management] author extensions

Posted: Wed Mar 24, 2010 5:14 pm
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

Re: [Version management] author extensions

Posted: Thu Mar 25, 2010 5:19 pm
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

Re: [Version management] author extensions

Posted: Thu Mar 25, 2010 8:04 pm
by Tanking
Perfect!

Thanks a lot.