Community
Participate
Working Groups
I released the patch in bug329277 to head. But now if you have org.eclipse.core.runtime.compatibility.registry checked out from head and are using a 3.6.x API baseline you get an API error saying The type org.eclipse.core.runtime.IPluginDescriptor has been removed from org.eclipse.core.runtime.compatibility.registry_3.3.100 MANIFEST.MF /org.eclipse.core.runtime.compatibility.registry/META-INF line 1 Compatibility Problem
The problem is that the source path entry for "classes" has been removed. In the pde api tooling code, we used to "parse" the "source." entries for a specify jar entry and this is how we got the .class file located inside the "classes" folder. So we need a new way to be able to retrieve the class inside that class folder. "classes" is really a class folder, so it should not be part of the source folders. I wonder if we should not include the "extra." classpath entries as part of the api component containers. If this jars are required at compile time, there is a good chance that they are also required at runtime to "resolve" signatures.
Created attachment 182235 [details] First draft
Since we are potentially using the contents of the build.properties file to initialize the api type containers, we should also listen to changes made in that file.
Created attachment 182240 [details] Updated patch Same patch with rebuild made when build.properties file contents has changed.
This patch passes all API tooling tests.
+1 looks good, all smoke / unit tests pass. I applied the patch to HEAD.
Olivier and Mike both reviewed the changes. Removing Darin as reviewer and marking as VERIFIED.