| Summary: | Importing fragment without Import/Export-headers forgets java nature | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Benjamin Muskalla <b.muskalla> | ||||
| Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | caniszczyk, contact, curtis.windatt.public | ||||
| Version: | 3.5 | ||||||
| Target Milestone: | 3.5 M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Benjamin Muskalla
Created attachment 122481 [details]
target
mini-target platform to test the behavior
Adding "Export-Package: p" to the manifest of the fragment leads to the correct behavior.
Don't have the time to look at this right this minute, but as it affects import I will look at it in 3.5 sometime. The way we are determining java requirements doesn't make much sense. We skipped over your fragment because it doesn't import/export, and we do add the java nature to doc bundles because they require org.eclipse.help. I changed the code to check for a BREE, which all plug-ins containing java code require as well as for exported bundles. |