Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Invalid manifest files
Invalid manifest files [message #597528] Fri, 15 May 2009 15:14
Ralf Grossklaus is currently offline Ralf GrossklausFriend
Messages: 20
Registered: July 2009
Location: Stuttgart, Germany
Junior Member

I wrote a wizard which creates new projects in an workspace. These
projects do have a plugin nature (despite other custom natures) and
therefore i need to add plug-in dependencies. For this part, i use
WorkspaceBundlePluginModel from PDE (i know, it's not part of the API,
but i haven't found a better solution).

Anyways, i've noticed that adding additional bundle dependencies, might
lead to an invalid manifest file, since the existing dependencies are
all written to a single line which might exceed the 72 bytes limit. I
dug a bit deeper in the PDE code and i found out that the class
"org.eclipse.osgi.util.ManifestElement.parseBundleManifest() ", which is
used by BundleModel.load() simple eliminates line breaks when parsing
the manifest file, and put all the comma separated values in one line
(with the result described above). I don't think, that this is desired
behaviour. What about you?!

Regards, Ralf
Previous Topic:P2 generator - How to specify feature categories ?
Next Topic:repository name in artifacts.xml / content.xml
Goto Forum:

Current Time: Thu Oct 06 23:26:45 GMT 2022

Powered by FUDForum. Page generated in 0.01272 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top