felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FELIX-3883) [Framework] Move OS and processor aliases to configuration properties
Date Mon, 27 Apr 2015 07:04:38 GMT

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

Carsten Ziegeler closed FELIX-3883.
-----------------------------------

> [Framework] Move OS and processor aliases to configuration properties
> ---------------------------------------------------------------------
>
>                 Key: FELIX-3883
>                 URL: https://issues.apache.org/jira/browse/FELIX-3883
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-4.2.0
>            Reporter: Richard S. Hall
>            Assignee: Bob Paulin
>             Fix For: framework-4.6.0
>
>
> Currently, we hard code our OS and processor aliases for matching native code libraries.
This is bad since it requires us to edit source code to add aliases. It would be better if
we moved these to configuration properties, something like this:
>     felix.native.os.[normalname] = alias1, alias2, etc.
>     felix.native.arch.[normalname] = alias1, alias2, etc.
> More concretely:
>     felix.native.os.win32 = Windows 8, Windows 7, Windows Vista
>     felix.native.arch.x86 = i386, i486, i586
> We could then use the properties to define as many "normal names" as we want and associate
all their known aliases, so at run time all names could be normalized.
> We can include a default set of normal names and aliases in default.properties, but allow
people to override any of them (or add new normal names/aliases) in config.properties.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message