Oxygen XML Developer has an extensive set of options that you can configure. When Oxygen XML Developer in installed, these options are set to default values. You can provide a
different set of default values for an installation using an XML options file.
Creating an XML Options File
To create an
options file, follow these steps:
- It is recommended that you use a fresh install for this procedure, to make sure that
you do not copy personal or local preferences.
- Open Oxygen XML Developer and open the
Preferences dialog box.
- Go through the options and set them to the desired defaults. Make sure that Global
Options is selected in each page.
- Click OK and close
the Preferences dialog box.
- Go to to create an XML options file.
Using Customized Default Options
Use either one of the following ways to configure an Oxygen XML Developer installation to use
customized default options from a created XML options file:
- In the [OXYGEN_DIR] installation folder, create a folder called
preferences and copy the XML options file into it (for example,
[OXYGEN_DIR]/preferences/default.xml).
- Set the path to the XML options file as the value of the
com.oxygenxml.default.options system property in the startup parameters.
The path must be specified with
a URL or file path relative to the application installation
folder:
-Dcom.oxygenxml.default.options=options/default.xml
Note: If you are using the
Java Webstart distribution, use the
optionsDir property to specify the path of the options file
(in this case, the file needs to be named
default.xml), or you can
edit the
.jnlp file that launches
the application and set the
com.oxygenxml.default.options parameter
using a
property element, as in the following
example:
<property name="oxy:com.oxygenxml.default.options" value="http://host/path/to/default.xml"/>