Community
Participate
Working Groups
Build Identifier: Eclipse 3.5.2 M20100211-1343 When trying to setup a target platform using Window:Preferences:Plugin-Development:Target Platform by adding content from a Software Site(a p2 repository), we are encountering the issue of "Error reading manifest...". See attachment for the error. The bundle causing this problem is an old-style plugin that only has a plugin.xml and no MANIFEST.MF. Converting the plugin to have a MANIFEST.MF allows it to get loaded as a target platform. However, the p2 installer itself has no problem installing this plugin, the installer downloaded it correctly into pde's bundlepool. Also, installed this plugin successfully using Help:Install New Software into the self-hosted instance. It is only pde that is not loading them into the target platform. Reproducible: Always
Created attachment 169910 [details] Snapshot of error message while loading the target platform
Is there any chance that this can be fixed in 3.6? We are running into too many instances of this.
PDE is done for 3.6. We can consider backporting to 3.6.1 if a solid well-contained fix can be found. Please attach one of the plug-ins that the manifest cannot be read.
Created attachment 172089 [details] Sample old-style plugin with no Manifest.mf
Using 3.6 code, I am able to create a target platform containing the sample plug-in you have provided. I create a new target platform and add a new directory location pointing to the parent folder of the plug-in. Are you able to create a target with a directory location? It could be something unique about how the plug-in is installed into your Eclipse.
Removing milestone. Works for me. We need better steps to reproduce to do anything here.
In the screenshot provided, you are not using a p2 repository location, you are using a local installation.
Marking as WORKSFORME. Support for old style plug-ins has been removed from the base platform, but works fine with the compatibility fragment installed.