If you like you can use the table impl JB mentioned to make some of the 3.0.0 tables prettier.

For reference you can look at the package/command module where the new table is already used.

Christian

Am 05.04.2012 17:14, schrieb Reuben Garrett:
i'm working on patching Camel's Karaf commands to print more nicely
(columns aligned regardless of a field's length) [1].  unfortunately, my
first attempt's implementation was a little too heavy, and would benefit
from code reuse.

i recently observed a JIRA [2] which suggests that Karaf may have builtin
support for printing tables to the console.  i'm searching the source for
examples, but haven't found anything yet.  does karaf have a builtin table
printer, or if not, can you recommend a 3rd-party library for this
purpose?  i'm not sure if this is relevant or feasible, but to me this
would seem like a nice OSGi service for the container to provide.


[1]: https://issues.apache.org/jira/browse/CAMEL-4931
[2]: https://issues.apache.org/jira/browse/KARAF-1281

~ Reuben



--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to