You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "David Jencks (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/03 02:39:40 UTC

[jira] [Resolved] (KARAF-1069) create a ServerInfo service that Main sets up that exposes karaf home, base, data, instances, and the command line arguments

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

David Jencks resolved KARAF-1069.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0

rev r1209819.

I included the methods we've found useful in geronimo for home and base.  If people think there are too many we could drop some, and we could also add the resolve methods for data and instances.
                
> create a ServerInfo service that Main sets up that exposes karaf home, base, data, instances, and the command line arguments
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1069
>                 URL: https://issues.apache.org/jira/browse/KARAF-1069
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0.0
>
>
> As discussed on the dev list, we could rely less on system properties and expose the karaf home, base, data, instances locations and the command line arguments through a ServerInfo service set up by Main.  If we stopped using the system properties this would make it easier to run karaf embedded and is in general a more osgi-friendly way to expose this location info.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira