Change plugin folder location

<oXygen/> general issues.
HVV
Posts: 7

Change plugin folder location

Fri Oct 19, 2018 1:28 pm

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
sorin_carbunaru
Site Admin
Posts: 157

Re: Change plugin folder location

Fri Oct 19, 2018 3:27 pm

Hello Hugo,

You could pack and install your plugin as an add-on (see https://www.oxygenxml.com/doc/versions/18.0/ug-editor/topics/packing-and-deploying-addons.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

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 0 guests