You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2011/01/19 21:55:43 UTC

[jira] Commented: (KARAF-403) Improve Bundle-Description header display

    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983884#action_12983884 ] 

Guillaume Nodet commented on KARAF-403:
---------------------------------------

For simple descriptions, the Bundle-Description should be sufficient (usually mapped to the maven project description).
For more in depth informations (synopsis, description, see also) as described, I'd use the same mechanism we have for commands, i.e. have a file maybe in META-INF/bundle.info which coult contain Ascii color syntaxing and better formatting.   In that case, the SYNOPSIS could be derived from Bundle-Description and the content of bunde.info would be displayed after.
This could be displayed before the headers in osgi;headers, or using a new command maybe ....

> Improve Bundle-Description header display
> -----------------------------------------
>
>                 Key: KARAF-403
>                 URL: https://issues.apache.org/jira/browse/KARAF-403
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.1.4, 2.2.0, 3.0.0
>
>
> Some users requested to provide more efficient bundle description, especially in ServiceMix.
> I've begun to add Bundle-Description looking like:
> SYNOPSIS
>   Quick description
> DESCRIPTION
>   Long description which can contains line break, tab, etc.
> SEE ALSO
>   A set of articles, documentation, or website concerning the bundle.
> When using osgi:headers command, the description is display but it's not very beautiful.
> The problem is that tab or line breaks are ignored.
> I propose to extend the osgi:headers command to handle at least line breaks and tab in Bundle-Description header.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.