You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stuart McCulloch (JIRA)" <ji...@apache.org> on 2007/10/21 09:44:50 UTC

[jira] Created: (FELIX-403) Linebreaks in description element can lead to invalid manifest header

Linebreaks in description element can lead to invalid manifest header
---------------------------------------------------------------------

                 Key: FELIX-403
                 URL: https://issues.apache.org/jira/browse/FELIX-403
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
    Affects Versions: 1.0.0
            Reporter: Stuart McCulloch
            Assignee: Stuart McCulloch


Reported by Olaf Bergner on the users list:

"Sometimes I left a perfectly running build to do some cosmetic work in the
projects that produce my osgi wrapper bundles for external libraries, using
the maven-bundle-plugin. Getting back to the real stuff I fired up maven
only to see my build fail with a compilation error, although I didn't touch
any 'real' code. Eventually, I found out that the compilation failure was
caused by an invalid header in one of my osgi wrapper bundle's manifest
file. It turns out that the maven-bundle-plugin copies the 'description'
section from the pom into the generated MANIFEST.MF. So that description
better be on one line. If you are like me and habitually format each and
every file before saving - strg-shift-F in eclipse - that restriction easily
gets violated. I therefore made it a habit to include the description in a
CDATA-section."

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


[jira] Closed: (FELIX-403) Linebreaks in description element can lead to invalid manifest header

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

Stuart McCulloch closed FELIX-403.
----------------------------------


> Linebreaks in description element can lead to invalid manifest header
> ---------------------------------------------------------------------
>
>                 Key: FELIX-403
>                 URL: https://issues.apache.org/jira/browse/FELIX-403
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: 1.0.0
>            Reporter: Stuart McCulloch
>            Assignee: Stuart McCulloch
>
> Reported by Olaf Bergner on the users list:
> "Sometimes I left a perfectly running build to do some cosmetic work in the
> projects that produce my osgi wrapper bundles for external libraries, using
> the maven-bundle-plugin. Getting back to the real stuff I fired up maven
> only to see my build fail with a compilation error, although I didn't touch
> any 'real' code. Eventually, I found out that the compilation failure was
> caused by an invalid header in one of my osgi wrapper bundle's manifest
> file. It turns out that the maven-bundle-plugin copies the 'description'
> section from the pom into the generated MANIFEST.MF. So that description
> better be on one line. If you are like me and habitually format each and
> every file before saving - strg-shift-F in eclipse - that restriction easily
> gets violated. I therefore made it a habit to include the description in a
> CDATA-section."

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


[jira] Resolved: (FELIX-403) Linebreaks in description element can lead to invalid manifest header

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

Stuart McCulloch resolved FELIX-403.
------------------------------------

    Resolution: Fixed

Fixed in trunk - line-breaks in the Maven project description will be removed before using it as the default bundle description.

> Linebreaks in description element can lead to invalid manifest header
> ---------------------------------------------------------------------
>
>                 Key: FELIX-403
>                 URL: https://issues.apache.org/jira/browse/FELIX-403
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: 1.0.0
>            Reporter: Stuart McCulloch
>            Assignee: Stuart McCulloch
>
> Reported by Olaf Bergner on the users list:
> "Sometimes I left a perfectly running build to do some cosmetic work in the
> projects that produce my osgi wrapper bundles for external libraries, using
> the maven-bundle-plugin. Getting back to the real stuff I fired up maven
> only to see my build fail with a compilation error, although I didn't touch
> any 'real' code. Eventually, I found out that the compilation failure was
> caused by an invalid header in one of my osgi wrapper bundle's manifest
> file. It turns out that the maven-bundle-plugin copies the 'description'
> section from the pom into the generated MANIFEST.MF. So that description
> better be on one line. If you are like me and habitually format each and
> every file before saving - strg-shift-F in eclipse - that restriction easily
> gets violated. I therefore made it a habit to include the description in a
> CDATA-section."

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


[jira] Work started: (FELIX-403) Linebreaks in description element can lead to invalid manifest header

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

Work on FELIX-403 started by Stuart McCulloch.

> Linebreaks in description element can lead to invalid manifest header
> ---------------------------------------------------------------------
>
>                 Key: FELIX-403
>                 URL: https://issues.apache.org/jira/browse/FELIX-403
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: 1.0.0
>            Reporter: Stuart McCulloch
>            Assignee: Stuart McCulloch
>
> Reported by Olaf Bergner on the users list:
> "Sometimes I left a perfectly running build to do some cosmetic work in the
> projects that produce my osgi wrapper bundles for external libraries, using
> the maven-bundle-plugin. Getting back to the real stuff I fired up maven
> only to see my build fail with a compilation error, although I didn't touch
> any 'real' code. Eventually, I found out that the compilation failure was
> caused by an invalid header in one of my osgi wrapper bundle's manifest
> file. It turns out that the maven-bundle-plugin copies the 'description'
> section from the pom into the generated MANIFEST.MF. So that description
> better be on one line. If you are like me and habitually format each and
> every file before saving - strg-shift-F in eclipse - that restriction easily
> gets violated. I therefore made it a habit to include the description in a
> CDATA-section."

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