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 2010/08/16 19:44:15 UTC

[jira] Created: (FELIX-2543) [Gogo] Should avoid using System.getProperty() to get configuration properties

[Gogo] Should avoid using System.getProperty() to get configuration properties
------------------------------------------------------------------------------

                 Key: FELIX-2543
                 URL: https://issues.apache.org/jira/browse/FELIX-2543
             Project: Felix
          Issue Type: Improvement
          Components: Gogo Shell
    Affects Versions: gogo-0.6.0
            Reporter: Richard S. Hall
            Priority: Minor
             Fix For: gogo-0.8.0


Gogo Shell uses System.getProperty() to find configuration properties, but this isn't a good thing since it makes it difficult to run multiple instances of the framework in a single VM each with their own shells. It should use BundleContext.getProperty() which falls back to system properties if there are no local configuration properties specified for the framework.

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


[jira] Closed: (FELIX-2543) [Gogo] Should avoid using System.getProperty() to get configuration properties

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall closed FELIX-2543.
----------------------------------

      Assignee: Richard S. Hall
    Resolution: Fixed

There appeared to be two places where we were doing this incorrectly, so I changed them.

> [Gogo] Should avoid using System.getProperty() to get configuration properties
> ------------------------------------------------------------------------------
>
>                 Key: FELIX-2543
>                 URL: https://issues.apache.org/jira/browse/FELIX-2543
>             Project: Felix
>          Issue Type: Improvement
>          Components: Gogo Shell
>    Affects Versions: gogo-0.6.0
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>            Priority: Minor
>             Fix For: gogo-0.8.0
>
>
> Gogo Shell uses System.getProperty() to find configuration properties, but this isn't a good thing since it makes it difficult to run multiple instances of the framework in a single VM each with their own shells. It should use BundleContext.getProperty() which falls back to system properties if there are no local configuration properties specified for the framework.

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


[jira] Updated: (FELIX-2543) [Gogo] Should avoid using System.getProperty() to get configuration properties

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall updated FELIX-2543:
-----------------------------------

    Fix Version/s: gogo-0.6.1
                       (was: gogo-0.8.0)

> [Gogo] Should avoid using System.getProperty() to get configuration properties
> ------------------------------------------------------------------------------
>
>                 Key: FELIX-2543
>                 URL: https://issues.apache.org/jira/browse/FELIX-2543
>             Project: Felix
>          Issue Type: Improvement
>          Components: Gogo Shell
>    Affects Versions: gogo-0.6.0
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>            Priority: Minor
>             Fix For: gogo-0.6.1
>
>
> Gogo Shell uses System.getProperty() to find configuration properties, but this isn't a good thing since it makes it difficult to run multiple instances of the framework in a single VM each with their own shells. It should use BundleContext.getProperty() which falls back to system properties if there are no local configuration properties specified for the framework.

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