sigil.properties -defaults should support variable expansion to allow it to be
overriden
----------------------------------------------------------------------------------------
Key: FELIX-1383
URL: https://issues.apache.org/jira/browse/FELIX-1383
Project: Felix
Issue Type: Improvement
Components: Sigil
Reporter: Derek Baum
Priority: Minor
sigil.properties files support a directive:
-defaults: [-]path-to-defaults
which allows for default values (such as default package import versions) to be
inherited.
If -defaults is not specified, '-../sigil-defaults.properties' is used to
implicitly use defaults from parent.
The leading - means ignore error if the file is not found.
It would be useful if the defaults value was variable expanded against System
properties and the environment:
-defaults: ${DEFAULTS_DIR:-../common}/sigil-defaults.properties
sigil already contains the necessary property variable expansion code.
however, property variable expansion is NOT globally applied to all values in
sigil.properties, as the eclipse plugin is not aware of variable expansion, so
when it updates sigil.properties all variables would have their expanded value.
This is not a problem with -defaults, as the eclipse plugin is not aware of
this value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.