Community
Participate
Working Groups
The jars on the Eclipse Update site (including EMF) have a META-INF folder with a manifest.mf file. These files have just one line: Manifest-version: 1.0. The plug-ins are installed fine and show up in the list of plug-ins accessed via the About Eclipse dialog. However, they don't show up in the list of PDE Target Platform Plug-ins or the list in Import External Plug-ins and Fragments wizard. For us (GEF), this is also creating the problem that none of our externalized Strings in the plugin.properties file are being loaded. However, I am not seeing this problem with other plug-ins from the Update site. We'll look into this a bit more (it might be our loading mechanism).
Re-routing to PDE. I'm not sure if the correct thing here is for the update site to not have those manifest.mf files, or for PDE to be able to recognize plug-ins with those manifest files. Copying Sonia since she might know something about this.
Are these files really bogus?
The problem with the Strings not being loaded properly seems to be valid. I've opened a separate bug report to track that: Bug# 71825
When reading plug-ins from the target platform: if the plug-in has a META-INF/manifest.mf file, we read it and if it does not contain a BUNDLE-SYMBOLICNAME header, we reject the plugin and go on to the next. (bug 62801) In this case, these plugins contain an almost-empty manifest file and they are thus discarded. Jeff, what does the runtime do in this case? I presume it is more lenient in that if the manifest.mf is missing an id, it just reads the plugin.xml?
*** Bug 71716 has been marked as a duplicate of this bug. ***
the runtime looks for a plugin.xml and generates a manfiest which is integrated into the existing manifest and put in the cache area. I would have thought that the state population code you have already did this but perhaps I am mistaken.
3.0.1 candidate. Fixed by making the reading of the registry less stringent. If a plugin contains a bogus manifest, we do not dismiss it right away. We check if it has a plugin.xml, we convert, and we then accept/reject based on the manifest resulting from the conversion.
*** Bug 70885 has been marked as a duplicate of this bug. ***
Verified on M20040825.