On 17/10/2007, Stuart McCulloch <[EMAIL PROTECTED]> wrote:
>
> On 17/10/2007, Olaf Bergner <[EMAIL PROTECTED]> wrote:
> >
> > 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. Same goes for the 'Include-Resource' instruction.
>
>
FYI, I've fixed the description problem in trunk under the following issue:

   https://issues.apache.org/jira/browse/FELIX-403

the Include-Resource problem was already fixed in the latest snapshot

-- 
Cheers, Stuart

Reply via email to