Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3883

[Framework] Move OS and processor aliases to configuration properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • framework-4.2.0
    • framework-4.6.0
    • Framework
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              bobpaulin Bob Paulin
              rickhall Richard S. Hall
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: