| Summary: | [patch] Missing source for Target Platform 'Installation' in runtime workbench | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Markus Keller <markus.kell.r> |
| Component: | UI | Assignee: | Markus Keller <markus.kell.r> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | curtis.windatt.public, Vikas.Chandra |
| Version: | 3.7 | Flags: | Vikas.Chandra:
review+
|
| Target Milestone: | 4.6 RC1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| See Also: |
https://git.eclipse.org/r/67538 https://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=c5033c5a9fb4f03b184be2bcb67fc7ba358d2fb3 |
||
| Whiteboard: | |||
|
Description
Markus Keller
I'll need to go over your steps again to determine if this is a bug or if it is just target weaving. When self hosting, the default target platform will use projects from the host workspace. I'm guessing that the source lookup is assuming that target weaving is taking place and pointing to an incorrect source location. The source bundles are in the target and associated with their plug-ins correctly. New Gerrit change created: https://git.eclipse.org/r/67538 The problem is that TargetWeaver#getWeavedSourceLibraryName(IPluginModelBase, String) wrongly assumes that the target platform always includes all bundles from the host, and then wrongly concludes that the source must be found in the host workspace. API Tools has a similar problem, see bug 488694. You can use those steps to reproduce this bug as well. At the end, e.g. type org.eclipse.core.runtime.content.BinarySignatureDescriber doesn't have a source attachment. This type is from the required bundle I20160223-0800/plugins/org.eclipse.core.contenttype_3.5.100.v20160120-1402.jar. TargetWeaver#getWeavedSourceLibraryName(..) wrongly applies the "bin" folder from the dev properties to this external bundle. The Gerrit fixes that. Gerrit change https://git.eclipse.org/r/67538 was merged to [master]. Commit: http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=c5033c5a9fb4f03b184be2bcb67fc7ba358d2fb3 Thanks Markus ! Verified, tested and reviewed this one. Looks good for 4.6RC1 Markus, can you verify this one? |