Thanks for the quick response, I love karaf and love the console/ssh concept, 
it's just that I would like to use it outside karaf for something not related 
to osgi, it would be nice if the console/command framework would be a stand 
alone project.

Patrick

-----Original Message-----
From: "Guillaume Nodet" <[email protected]>
Sent: Thursday, October 28, 2010 9:13am
To: [email protected]
Subject: Re: How to use the console outside osgi/karaf

The gogo shell is available without the OSGi framework, so it is
possible to start the console by using the bin/shell script.
However most of the commands in Karaf depends on the OSGi framework or
some OSGi service, so those won't work.
We don't have much doc on that yet, but the discovery is done by
searching META-INF/services/org/apache/karaf/shell/commands files
which contain the list of commands to make available in the shell.
So only a few of those will be available when using bin/shell.

On Thu, Oct 28, 2010 at 14:51, Patrick Shea <[email protected]> wrote:
> I saw in the 2.1 release that it would be possible to use the console outside 
> of osgi, is there an example of how to do this?
>
> Patrick
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com


Reply via email to