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] [Created] (FELIX-3883) [Framework] Move OS and processor aliases to configuration properties
Date Thu, 31 Jan 2013 20:17:12 GMT
Richard S. Hall created FELIX-3883:
--------------------------------------

             Summary: [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
             Fix For: framework-4.4.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message