Hi Charles,

1/ yes, you can directly use something like:

Ansi.ansi().a(Ansi.Attribute.INTENSITY_BOLD).a("foo");

2/ for the differences between, it's because packages:import is based on PackageAdmin, I'm not sure about dev:show-tree. Let me check.

Regards
JB

On 09/16/2013 02:49 PM, Charles Moulliard wrote:
Hi,

1) Question about karaf + ansi colors

Could we display lines displayed by a karaf command output using ansi
colors (idea: when we run the classes command, we could display bundle
classes in a color and classes wired from another bundle in a different
color) ?

2) Question : Packages imported and show-tree

Why packages:import command show the packages of bundle 0 (inherent from
OSGI class loader) and not the command dev:show-tree ? Every bundle is
wired to the bundle of OSGI framework (fekix, equinox) ?

Regards,
--
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to