You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2011/01/19 14:08:44 UTC

[jira] Created: (KARAF-403) Improve Bundle-Name and Bundle-Description headers display

Improve Bundle-Name and Bundle-Description headers display
----------------------------------------------------------

                 Key: KARAF-403
                 URL: https://issues.apache.org/jira/browse/KARAF-403
             Project: Karaf
          Issue Type: Improvement
          Components: console
            Reporter: 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-SymbolicName and Bundle-Description headers.

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


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reopened KARAF-403:
----------------------------------------


> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Uwe Korte (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994119#comment-12994119 ] 

Uwe Korte commented on KARAF-403:
---------------------------------

Actually the admin-command in trunk und karaf-2.2.x seem to be broken.
The resources-section in the pom.xls (admin/command) need to be fixed: There is a reference to "${project.directory}" which should be "${project.basedir}".

> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984059#action_12984059 ] 

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

As reminder (for me :)), this part should be documented in the Karaf developer guide and in the "How to create bundle" section.

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


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-403.
----------------------------------------

    Resolution: Fixed

Fixed admin command POM on trunk: revision 1070274.
Fixed admin command POM on karaf-2.2.x branch: revision 1070275.

> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984601#action_12984601 ] 

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

New osgi:info command available: revision 1061670.

Display example:

onofreje@root> osgi:info 42

Apache ServiceMix :: Bundles :: abdera (42)
-------------------------------------------
SYNOPSIS
    This OSGi bundle wraps abdera-core 0.4.0-incubating jar file.

DESCRIPTION
    Apache Abdera is a functionally-complete, high-performance implementation of the IETF Atom Syndication
    format (RFC 4287) and Atom Publishing Protocol(RFC 5023) specification.

SEE ALSO
    http://abdera.apache.org/


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


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-403 started by Jean-Baptiste Onofré.

> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-403:
---------------------------------------

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

  was:
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-SymbolicName and Bundle-Description headers.

        Summary: Improve Bundle-Description header display  (was: Improve Bundle-Name and Bundle-Description headers display)

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


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984053#action_12984053 ] 

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

Of course, as bundle.info is not part of OSGi spec, it shouldn't part of Felix maven-bundle-plugin.

In that case, I prefer to put bundle.info file in OSGI-INF (as the blueprint descriptor).

The user can do it very easily by adding the resource in maven.

I'm OK with that, I will update the ServiceMix bundles in that way and add the karaf command to read OSGI-INF/bundle.info.

Thanks.

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


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984664#action_12984664 ] 

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

Add escaped ASCII characters support and documentation how to create the OSGI-INF/bundle.info entry: revision 1061721.

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


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

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984054#action_12984054 ] 

Lars Heinemann commented on KARAF-403:
--------------------------------------

Or to put it even in filtered-resources if we need to replace some content at build time.


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


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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984051#action_12984051 ] 

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

I'm not sure we should do that through the maven bundle plugin.
Karaf is the only one supporting that (and felix does not support ansi codes by default), so that looks a bit karaf specific to me.
Anyway, the current maven bundle plugin has been changed in 2.1.0 to removes r line breaks iirc, so we'd have to revert that which won't lead to other problems.   Imho it would be easier to just have the user to add a src/main/resources/META-INF/bundle.info  or maybe src/main/resources/OSGI-INF/bundle.info.


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


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-403 started by Jean-Baptiste Onofré.

> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Jamie goodyear (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-403.
--------------------------------

    
> Improve Bundle-Description header display
> -----------------------------------------
>
>                 Key: KARAF-403
>                 URL: https://issues.apache.org/jira/browse/KARAF-403
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>            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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989677#comment-12989677 ] 

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

Resuming work on Karaf bundles to add OSGI-INF/bundle.info: revision 1066500.

> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989276#comment-12989276 ] 

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

Begin to add OSGI-INF/bundle.info in Karaf bundles: revision 1066089.

> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-403.
----------------------------------------

    Resolution: Fixed

All Karaf bundles embed OSGI-INF/bundle.info containing detailed information: revision 1066632.

> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989678#comment-12989678 ] 

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

TODO: think about a maven karaf plugin goal which populate the OSGI-INF/bundle.info with some information (for instance, command annotations, etc).

> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Assigned: (KARAF-403) Improve Bundle-Name and Bundle-Description headers display

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-403:
------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Improve Bundle-Name and Bundle-Description headers 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-SymbolicName and Bundle-Description headers.

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


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984058#action_12984058 ] 

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

Yeah, it's bundle developer part :)

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


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984044#action_12984044 ] 

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

+1

But in that case, we should submit a patch to Felix: the maven-bundle-plugin should populate the META-INF/bundle.info.

WDYT ?

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


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989083#comment-12989083 ] 

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

I'm gonna add OSGI-INF/bundle.info file in Karaf bundles.

> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira