want to set additional.frameworks.directories using plugin or vmoptions on starting of xml editor

Post here questions and problems related to oXygen frameworks/document types.
vishwavaranasi
Posts: 144
Joined: Fri Feb 28, 2020 4:02 pm

want to set additional.frameworks.directories using plugin or vmoptions on starting of xml editor

Post by vishwavaranasi »

Hello team ,

and we want the below preferences
additional.frameworks.directories
dita.ot.directory

to be set to custom values , and these values to be configured using plugin or vmoptions ?

i was referring to the sample plugin here https://github.com/oxygenxml/wsaccess-j ... se-options , this looks like with javascript , does we can implement the same using java ?

please help us here?

Thanks,
vishwa
Thanks,
vishwa
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: want to set additional.frameworks.directories using plugin or vmoptions on starting of xml editor

Post by Radu »

Hi,

Sure, from a workspace access Java plugin extension you can also import options when Oxygen starts:;

Code: Select all

  /**
   * @see ro.sync.exml.plugin.workspace.WorkspaceAccessPluginExtension#applicationStarted(ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace)
   */
  @Override
  public void applicationStarted(final StandalonePluginWorkspace pluginWorkspaceAccess) {
    pluginWorkspaceAccess.importGlobalOptions(optionsFile);
    ....
    
https://www.oxygenxml.com/doc/versions/ ... lugin.html

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