You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Charlie Mordant <cm...@gmail.com> on 2015/02/05 17:07:16 UTC

Karaf classes command semantic

Hi Karaf community!

I'm trying to debug some Osgi code and using the 'classes' karaf command
(3.0.3) to see exposed bundle classes.

I noticed that I have some classes in bold and some other that aren't: what
does it mean?

Best regards,

Charlie

-- 
Charlie Mordant

Full OSGI/EE stack made with Karaf:
https://github.com/OsgiliathEnterprise/net.osgiliath.parent

Re: Karaf classes command semantic

Posted by Charlie Mordant <cm...@gmail.com>.
Ok, Thanks JB!

Best Regards,

Charlie

2015-02-05 17:12 GMT+01:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:

> By the way:
>
>                 if (localResources.contains(resource)) {
>
> System.out.println(ansi().a(INTENSITY_BOLD).a(resource).a(RESET));
>                 } else {
>                     System.out.println(resource);
>                 }
>
> On 02/05/2015 05:07 PM, Charlie Mordant wrote:
>
>> Hi Karaf community!
>>
>> I'm trying to debug some Osgi code and using the 'classes' karaf command
>> (3.0.3) to see exposed bundle classes.
>>
>> I noticed that I have some classes in bold and some other that aren't:
>> what does it mean?
>>
>> Best regards,
>>
>> Charlie
>>
>> --
>> Charlie Mordant
>>
>> Full OSGI/EE stack made with Karaf:
>> https://github.com/OsgiliathEnterprise/net.osgiliath.parent
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 
Charlie Mordant

Full OSGI/EE stack made with Karaf:
https://github.com/OsgiliathEnterprise/net.osgiliath.parent

Re: Karaf classes command semantic

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
By the way:

                 if (localResources.contains(resource)) {
 
System.out.println(ansi().a(INTENSITY_BOLD).a(resource).a(RESET));
                 } else {
                     System.out.println(resource);
                 }

On 02/05/2015 05:07 PM, Charlie Mordant wrote:
> Hi Karaf community!
>
> I'm trying to debug some Osgi code and using the 'classes' karaf command
> (3.0.3) to see exposed bundle classes.
>
> I noticed that I have some classes in bold and some other that aren't:
> what does it mean?
>
> Best regards,
>
> Charlie
>
> --
> Charlie Mordant
>
> Full OSGI/EE stack made with Karaf:
> https://github.com/OsgiliathEnterprise/net.osgiliath.parent

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf classes command semantic

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
It's local resources (coming from the bundle) and imported resources 
(from import).

Regards
JB

On 02/05/2015 05:07 PM, Charlie Mordant wrote:
> Hi Karaf community!
>
> I'm trying to debug some Osgi code and using the 'classes' karaf command
> (3.0.3) to see exposed bundle classes.
>
> I noticed that I have some classes in bold and some other that aren't:
> what does it mean?
>
> Best regards,
>
> Charlie
>
> --
> Charlie Mordant
>
> Full OSGI/EE stack made with Karaf:
> https://github.com/OsgiliathEnterprise/net.osgiliath.parent

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com