A plugin is registered with both w2x
and w2x-app
by copying all its files anywhere inside directory w2x_install_dir/plugin/
.
However it's strongly recommended to group all the files comprising a plugin in a subdirectory of its own having the same name as the plug-in (e.g. w2x_install_dir/plugin/rss/
).
If the .dmg
distribution has been used to install XMLmind Word To XML on the Mac, the plugin directory is WordToXML.app/Contents/Resources/w2x/plugin/
.
Alternatively, this plugin may be installed anywhere you want provided that the directory containing the ".w2x_plugin
" file is referenced in the W2X_PLUGIN_PATH environment variable. Example: set W2X_PLUGIN_PATH=C:\Users\John\w2x\rss;C:\temp\w2x_plugins
.
The W2X_PLUGIN_PATH environment variable (or, equivalently, the W2X_PLUGIN_PATH
Java™ system property; e.g. -DW2X_PLUGIN_PATH=C:\Users\John\w2x\rss;C:\temp\w2x_plugins
) may contain absolute or relative directory paths separated by semi-colons (";
"). A relative path is relative to the current working directory.
The W2X_PLUGIN_PATH environment variable may also contain "+
", which is a shorthand for w2x_install_dir/plugin/
. Windows example: set W2X_PLUGIN_PATH=..\sample_plugins;+
. Linux/macOS example: export W2X_PLUGIN_PATH=+;/home/john/w2x_plugins
.