On 8/7/09 6:01, Houtman, Roland wrote:
Hi,

I've used 'Mangen' to process my jar, which works but it adds the next line to 
the manifest

        Bundle-ManifestVersion: 1

after which Felix 1.8.0 complains with

        ->  install file:D:/bundles/osgi_ds_1.jar.new.jar

        org.osgi.framework.BundleException: Unknown 'Bundle-ManifestVersion' 
value: 1
                at 
org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:56)

If I change the version manually to 2, Felix does install without error.
Even if the manifest already contained Bundle-ManifestVersion: 2, mangen 
changes it to 1

Any ideas are welcome

I think mangen hadn't been updated to work with R4, but yes it is a mistake to use the value of '1' for the manifest version, since the spec says the only recognized version is '2'. You could open an issue against this.

-> richard


Yokogawa Europe B.V.
Visit address: Euroweg 2, 3825 HD  Amersfoort (new address !)
Mail address: P.O. Box 163>  ->   3800 AD  Amersfoort
The Netherlands
Tel.: +31 88 4641000 Fax: +31 88 4641111 (new number!)
http://www.yokogawa.com/nl

Yokogawa Europe B.V. is listed in the Commercial Register of the Chamber of 
Commerce under file number 31024364


  ***************DISCLAIMER***************
The information in this e-mail is confidential and intended solely for the 
person to whom it is addressed. If this message is not addressed to you, please 
be aware that you have no authorization to read the rest of this e-mail, to 
copy it or to furnish it to any person other than the addressee. Should you 
have received this e-mail by mistake, please bring this to the attention of the 
sender, after which you are kindly requested to destroy the original message. 
Yokogawa Solutions Europe cannot be held responsible or liable in any way 
whatsoever for and/or in connection with any consequences and/or damage 
resulting from the proper and complete dispatch and receipt of the content of 
this e-mail.
De informatie in deze e-mail is vertrouwelijk en uitsluitend bestemd voor de 
geadresseerde. Indien de lezer van deze mededeling niet de geadresseerde is, 
wordt u er hierbij op gewezen, dat u geen recht hebt kennis te nemen van de 
rest van deze e-mail, het te kopiƫren of te verstrekken aan andere personen dan 
de geadresseerde. Indien u deze e-mail abusievelijk hebt ontvangen, brengt u 
dan de afzender op de hoogte waarbij u gevraagd zal worden het originele 
bericht te vernietigen. Yokogawa Solutions Europe is niet verantwoordelijk en 
wijst iedere aansprakelijkheid af voor en/of in verband met alle gevolgen en/of 
schade van een juiste en volledige verzending en ontvangst van de inhoud en van 
deze e-mail.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to