Community
Participate
Working Groups
When exporting a simple OSGI Bundle as a jar with a pre written manifest.mf, the exporter strips away the last line of the manifest file. i.e if the last line is Import-Package: ... this line will not appear in the exported META-INF/MANIFEST.MF To have it exported there is a need to add an extra new empty line at the end of the manifest.mf file. -- Configuration Details -- Product: Eclipse 1.2.2.20100122-1337 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.jdt 3.5.2.r352_v20100108-7r88FEwFI0WTuoBl0iaG0tyhfZH6
I believe each line has to finish with a line separator even if this is the last line. Check http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html#Manifest%20Specification. If this is not the case (you are missing the last line separator), this bug would be invalid.