felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-421) Property substitution fails in config.properties
Date Sun, 18 Nov 2007 22:18:43 GMT

     [ https://issues.apache.org/jira/browse/FELIX-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Richard S. Hall resolved FELIX-421.

    Resolution: Invalid
      Assignee: Richard S. Hall

The issue is that you need to use "felix.config.properties" to provide configuration properties.
Felix doesn't really use "felix.system.properties", it is just a convenience mechanism in
the launcher to allow developers to set system properties in a file rather than specifying
them on the command line. Check the usage docs.

> Property substitution fails in config.properties
> ------------------------------------------------
>                 Key: FELIX-421
>                 URL: https://issues.apache.org/jira/browse/FELIX-421
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 1.0.0
>            Reporter: Neil Bartlett
>            Assignee: Richard S. Hall
>            Priority: Minor
> When Felix is launched with a config.properties provided via the 'felix.system.properties'
set to a "file:" URL, property substitution on the contents of that file does not function
correctly. In particular this results in the 'org.osgi.framework.system.packages' property
not being configured with all the normal JRE packages.
> To reproduce, using a freshly unzipped copy of Felix 1.0.1:
> 1) Change dir to felix-1.0.1
> 2) Launch using: java -Dfelix.system.properties=file:conf/config.properties -jar bin/felix.jar
> 3) At the Felix shell, type packages 0. The result will include only org.osgi.framework,
packageadmin, etc.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message