Editor variable for add-on framework

Are you missing a feature? Request it's implementation here.
martindholmes
Posts: 107
Location: Victoria, BC, Canada

Editor variable for add-on framework

Fri Jun 27, 2014 5:31 am

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
Radu
Posts: 5585

Re: Editor variable for add-on framework

Fri Jun 27, 2014 8:27 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
martindholmes
Posts: 107
Location: Victoria, BC, Canada

Re: Editor variable for add-on framework

Wed Aug 13, 2014 2:46 am

This sounds great. When is 16.1 due?
Radu
Posts: 5585

Re: Editor variable for add-on framework

Wed Aug 13, 2014 7:44 am

Hi Martin,

Probably around September 2014.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Feature Request”

Who is online

Users browsing this forum: No registered users and 1 guest