I created a tui command for the config admin at work (can't open
source it unfortunately). I register a single shell command which uses
sub-commands for "list", "view", "create", "update", "remove" and
"set-value". Its a little over 500 loc including comments and imports.
It isn't particularly user-friendly, requiring the pid for every
action, but it gets the job done. A full strength cmadmin command
would require a bit more, but a basic one can be cobbeled together in
an afternoon.

We're on Java 6 here, so I added an exec-script command which takes cm
url and passes it to javax.script to run. The CmAdmin service and
others are set in the script context. Our configuration heavy-lifting
is all done in javascript, the cm-admin command is for ad-hoc changes
only.

HTH,
Barend

On 10/14/08, Martin Thelian <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Felix Meschberger schrieb:
>> Reto Bachmann-Gmür schrieb:
>>
>>> With the webconsole I can set service properties on
>>> http://localhost:8080/system/console/configMgr, how do i do this on the
>>> TUI?
>>>
>> There is currently no Shell Service support for the Configuration Admin
>> Service.
>>
> A commandline CM tool for Apache Felix and Equinox is available here:
> https://opensource.luminis.net/confluence/display/SITE/OSGi+Configuration+Admin+command+line+client
>
> Regards,
> Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to