| Summary: | org.eclipse.core.runtime.compatibility.registry shows error for removed class | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Thomas Watson <tjwatson> | ||||||
| Component: | API Tools | Assignee: | PDE API Tools Inbox <pde-apitools-inbox> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | curtis.windatt.public, Michael_Rennie, Olivier_Thomann, pwebster | ||||||
| Version: | 3.6 | Flags: | Michael_Rennie:
review+
|
||||||
| Target Milestone: | 3.7 M4 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Thomas Watson
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. |