Invalid manifest files [message #597528] |
Fri, 15 May 2009 15:14 |
|
Hello,
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
|
|
|
Powered by
FUDForum. Page generated in 0.02751 seconds