You configure default property values for a remote system
by creating a set of configuration files on that system.
About this task
Configuring default property values enables you to define
site-specific defaults for particular properties. When a user connects
to a system for the first time, Rational® Developer
for System z® determines
whether a default values file exists on the system. If so, the default
values are stored in the workspace so that whenever users create a
new property group for that system, the defaults from the default
values file are used. For properties that do not have default values
in the default values file, the default Rational Developer for System z property values are used. If the
default values file on the system is updated after the default values
are transferred to the workspace, users are prompted to replace the
defaults in the workspace with the ones from the system. If no default
property values are configured for a remote system then the system
uses default values shipped with Rational Developer
for System z.
To configure
default property values on a remote system, you need to define a default
values file that defines property values that are available to users
when they connect to the system for the first time.
When a user
connects to a system for the first time, Rational Developer for System z determines whether a default values
file exists on the system. If so, the default values are stored in
the workspace so that whenever users create a new property group for
that system, the defaults from the default values file are used. For
properties that do not have default values in the default values file,
the default Rational Developer
for System z property values
are used. If the default values file on the system is updated after
the default values are transferred to the workspace, users are prompted
to replace the defaults in the workspace with the ones from the system.
The default values file is
defaultvalues.xml and
contains the following tags. It must be encoded in UTF-8. See the
related topics for the default values schema.
<?xml version="1.0" encoding="UTF-8"?>
<DEFAULT-VALUES>
<CATEGORY-INSTANCE>
<CATEGORY>category name</CATEGORY>
<PROPERTY>
<NAME>property name</NAME>
<VALUE>property value</VALUE>
</PROPERTY>
</CATEGORY-INSTANCE>
</DEFAULT-VALUES>
- <CATEGORY-INSTANCE>
- Specify one <CATEGORY-INSTANCE> tag for each property category
for which you want to define default values. This tag can contain
one <CATEGORY> tag and one or more <PROPERTY> tags.
- <CATEGORY>
- Specify the name of a property category for which you want to
define default values. See the Related References for a list of valid
category names.
- <PROPERTY>
- Specify one or more property <NAME> and <VALUE> pairs to
include for the category. See the Related References for a list of
valid property names.