Properties File Format

When defining or specifying a property in properties file, you have to follow the format rules to ensure that the property is valid.

The following rules are specific to properties defined in properties files:

  • Use the number sign (#), rather than the exclamation point (!), as a comment line indicator.
  • Define a property with an one-line value. Because properties files ignore the line continuation character, you cannot define a property with a multi-line value.
  • Not include termination characters in a key.
  • Use a forward slash (/) as a delimiter in all paths, including Microsoft Windows directory names.