The commands are exposed using plain OSGi, but it should still work without
a bueprint descriptor (those are just services in the OSGi registry at the
end).
I'll have a look at it as there should be a way to get that working.

On Mon, Jan 17, 2011 at 08:01, Jean-Baptiste Onofré <j...@nanthrax.net> wrote:

> Hi David,
>
> The Felix Scr bundle doesn't contain blueprint descriptor (in
> META-INF/OSGI-INF). Regarding the Import-Package, we can see that it uses
> org.apache.felix.shell as optional.
> Without blueprint descriptor, commands won't appear automatically after
> installation of the bundle. You have to restart your karaf container.
> Could you make the try ? 1/ install the scr bundle, 2/ restart karaf
> without deleting the data directory
>
> Anyway, we can submit a patch to felix containing scr blueprint.
>
> Regards
> JB
>
>
>
> On 01/14/2011 07:37 PM, David Jencks wrote:
>
>> Does anyone know how to get the felix scr commands to show up in the karaf
>> console?  I'm trying scr and karaf from trunk and have also installed and
>> started
>>
>>  osgi:install -s mvn:org.apache.felix/org.apache.felix.shell/
>>
>>   install
>> file:///Users/david/.m2/repository/org/apache/felix/org.apache.felix.scr/1.6.1-SNAPSHOT/org.apache.felix.scr-1.6.1-SNAPSHOT.jar
>>
>> I expected to see something like
>>
>> scr:list
>>
>> in the list of commands I get from<tab>  but nothing shows up.
>>
>> Thanks in advance for any help
>>
>> david jencks
>>
>>


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

Reply via email to