Page 1 of 1

Editor variable for add-on framework

Posted: Fri Jun 27, 2014 5:31 am
by martindholmes
I'd like to suggest that an editor variable be added that points to the directory within which extension frameworks have been installed. On my current desktop it would point to:

/home/mholmes/.com.oxygenxml/extensions/v16.0/frameworks

I need to be able to use this path in Ant scenarios, on the assumption that users will have the TEI extensions installed. There doesn't seem to be a way to predict derive it, because it changes with each new point version (I also have /home/mholmes/.com.oxygenxml/extensions/v15.2/frameworks).

Perhaps ${extensionFrameworks} and ${extensionFrameworksDir}?

Cheers,
Martin

Re: Editor variable for add-on framework

Posted: Fri Jun 27, 2014 8:27 am
by Radu
Hi Martin,

For Oxygen 16.1 we are working on an editor variable which can be used something like:

${framework(TEI P5)} and the equivalent file path ${frameworkDir(TEI P5)}.

Basically the editor variable receives the name of a framework. It will search for a framework called like this in 3 places (in this order):

1) The list of additional frameworks specified in the Oxygen Preferences->Document Type Association / Locations page.

2) Add-on installed frameworks.

3) Frameworks from the default frameworks location (usually OXYGEN_INSTALL_DIR/frameworks).

In your case it will probably find the TEI P5 framework location from the add-on and expand the editor variables to it.

Regards,
Radu

Re: Editor variable for add-on framework

Posted: Wed Aug 13, 2014 2:46 am
by martindholmes
This sounds great. When is 16.1 due?

Re: Editor variable for add-on framework

Posted: Wed Aug 13, 2014 7:44 am
by Radu
Hi Martin,

Probably around September 2014.

Regards,
Radu