karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] Commented: (KARAF-403) Improve Bundle-Description header display
Date Thu, 20 Jan 2011 07:04:43 GMT

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

Jean-Baptiste Onofré commented on KARAF-403:
--------------------------------------------

I'm gonna revert my changes on ServiceMix bundles to store only the synopsis in the <description/>.

I propose:
1/ to use a property such as <Bundle-Info/> to store all informations (including Ascii
color, formatting, etc). This property could looks like:
  <properties>
     <Bundle-Info>
          SYNOPSIS
              ${project.description}

          DESCRIPTION
              ...

           SEE ALSO
              ....
    </Bundle-Info>
  </properties>
2/ Enhance the Felix maven-bundle-plugin to add META-INF/bundle.info with this property (if
it exists)
3/ Add a new Karaf command: osgi:bundle-info xxx displaying the META-INF/bundle.info content.
The osgi:headers will still display the "standard" Bundle-Description MANIFEST attribute.

> 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.


Mime
View raw message