Page 1 of 1

Change plugin folder location

Posted: Fri Oct 19, 2018 1:28 pm
by HVV
Hi,

Is is possible to change the path from which plugins are loaded? The default folder for me is: C:\Program Files\Oxygen XML Editor 18\plugins
I have no writing acces here and I want to test a java plugin without having to bother my sysadmin.

Kind regards,

Hugo

Re: Change plugin folder location

Posted: Fri Oct 19, 2018 3:27 pm
by sorin_carbunaru
Hello Hugo,

You could pack and install your plugin as an add-on (see https://www.oxygenxml.com/doc/versions/ ... ddons.html for packing; you can skip the signing part for testing) and then, every time you build your plugin, just increase the version in the descriptor file and go to Help -> Manage add-ons... to update the add-on.

Here is how a descriptor file (from step 3 in the procedure) looks like:

Code: Select all


<?xml version="1.0" encoding="UTF-8"?>
<xt:extensions xmlns:xt="http://www.oxygenxml.com/ns/extension"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.oxygenxml.com/ns/extension http://www.oxygenxml.com/ns/extension/extensions.xsd">
<xt:extension id="oxygen-sample-plugin-broken-links-checker">
<xt:location href="path/to/plugin.jar"/>
<xt:version>1.0.0</xt:version> <!-- THIS SHOULD BE UPDATED AFTER EACH BUILD -->
<xt:oxy_version>18.0+</xt:oxy_version>
<xt:type>plugin</xt:type>
<xt:author>Hugo</xt:author>
<xt:name>PLUGIN NAME</xt:name>
<xt:description xmlns="http://www.w3.org/1999/xhtml">PLUGIN DESCRIPTION</xt:description>
<xt:license><![CDATA[END USER LICENSE AGREEMENT]]></xt:license>
</xt:extension>
</xt:extensions>
For more information about installing and managing add-ons in oXygen, please see: https://www.oxygenxml.com/doc/versions/ ... ng-add-ons.

Secondly, of course you could also install oXygen again (and by this I mean that you don't uninstall it from Program Files) in a folder where you have full writing permissions.

Choose the option that fits you best. :)

Cheers!
Sorin Carbunaru
oXygen XML