You can use -include as follows:
-include: <path or url>
This will read the path or url as a properties or manifest file (if it ends in
It is important to realize that the include is not handled by the parser. That is, it is not a normal text include. The properties parser will read all properties in one go and then inspect the Properties object for the
-include instruction. It then parses the paths or URLs in the
-include instruction one by one in order. By default, the read properties do not override the properties that were set in the same file as the
There are two possible options. The path/URL starts with a:
~ – The included properties override the locally set properties.
- – If file or URL or path does not exist then do not report an error.
# Read an optional file in the user's home directory
# Read a manifest
# Use a URL
# Read several
-include first.bnd, second.properties, ~third.override