Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AttributeDescriptionValue RangeRequired
nameThe name of the property to set.a stringyes
valueThe static value of the property.a stringyes unless file or environment has been specified
fileAlternatively, the properties file to load all values froma valid pathyes, if value or environment has not been specified)
prefix

The prefix to be added to the properties names read from a file.

Only valid if the file attribute is specified.

A "." is appended to the prefix value if not specifiedthe prefix doesn't already end on ".".

a stringno
environment

Alternatively, loads property values from all existing environment variables and uses the value of the environment attribute as prefix.

A "." is appended to the end of the prefix specified by the environment attribute.

For example, if you set the attribute <property environment="env"/> and the according environment variable out of the set of environment variables found at the system is PATH, the resulting property name for this is env.PATH, not just envPATH.

a stringyes if value or file has not been specified)

...