You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2007/10/03 04:37:50 UTC

[jira] Commented: (FELIX-380) provide configuration.properties in the framework.jar by default

    [ https://issues.apache.org/jira/browse/FELIX-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531987 ] 

Richard S. Hall commented on FELIX-380:
---------------------------------------

I have added support for a bare-bones default.properties resource file that gets loaded if the actual config.properties file cannot be found.

I have one reservation about this approach, now we have two places in Felix where we need to maintain a list of JRE packages (i.e., in config.properties and default.properties). It would be nicer if we only had to maintain these properties once. Anyone have any good ideas on how to accomplish that?

> provide configuration.properties in the framework.jar by default
> ----------------------------------------------------------------
>
>                 Key: FELIX-380
>                 URL: https://issues.apache.org/jira/browse/FELIX-380
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 1.0.0
>            Reporter: Costin Leau
>
> Even when using just the framework felix as an embedded library, it is helpful to have the default configuration.properties (which specifies the packages) loaded automatically and present in the jar.
> The configuration could be overwritten at startup so clients that want different packages can do that while clients that do not interact with this aspect can have a resonable default loaded for them (which is our case = Spring OSGi).
> Thanks.

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