Editor variable for add-on framework

Are you missing a feature? Request its implementation here.
martindholmes
Posts: 190
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Editor variable for add-on framework

Post 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
Radu
Posts: 9436
Joined: Fri Jul 09, 2004 5:18 pm

Re: Editor variable for add-on framework

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
martindholmes
Posts: 190
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Re: Editor variable for add-on framework

Post by martindholmes »

This sounds great. When is 16.1 due?
Radu
Posts: 9436
Joined: Fri Jul 09, 2004 5:18 pm

Re: Editor variable for add-on framework

Post by Radu »

Hi Martin,

Probably around September 2014.

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