Hi,

I've started playing with Gogo (and it seems great!) but I need to use it via telnet.
I noticed that the console module had 2 "activators":
- one regular BundleActivator that only creates the StdioConsole
- one SCR component that creates the TelnetShell
but I find no XML (or Service-Component header) for the SCR component, so the TelnetShell just sits there but is never activated.

If I simply repackage with my own XML as below, it works great:
<?xml version="1.0" encoding="utf-8"?>
<component name="GogoTelnet">
<implementation class="org.apache.felix.gogo.console.telnet.TelnetShell"/>
<reference name="commandProc" interface="org.osgi.service.command.CommandProcessor"
    bind="setProcessor"/>
</component>

My question is:
- why is there no SCR XML provided? is it on purpose or just forgotten?
- and why mixing Activator and SCR? Everything (Stdio and Telnet) could be set either by the BundleActivator or SCR components and the property "osgi.shell.telnet=on" in Felix properties could be used to enable the telnet part..

thanks,
Arjun


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to