| Summary: | Source components in target platform ignored | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Michal Ruzicka <michal.ruza> | ||||||
| Component: | Buckminster | Assignee: | buckminster.core-inbox <buckminster.core-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | Kenn.Hussey, thomas | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 333253 | ||||||||
| Attachments: |
|
||||||||
|
Description
Michal Ruzicka
Created attachment 186156 [details]
workspace-demonstration.zip
The attached file contains a workspace with projects demonstrating the issue.
To produce the p2 repository containing the wrong source feature (and missing the expected source bundle) invoke the "site.p2" action on the "com.example.core.build.feature" while supplying "com.example.core.build.feature/buckminster.properties" as the property file to the action.
The output of the build should go to:
${worspace.root}/build/core
the resulting p2 repo should be then found in:
${worspace.root}/build/core/com.example.core.build.feature_1.0.0-eclipse.feature\site.p2
The generated "com.example.base.source.feature_1.0.0.xxxxxxxxxxx.jar" feature found in the repo is the wrong one - same version including qualifier as that from the target platform but not including any components in contrast.
Note that sources for the "com.example.base.*" components are also included in the zip file, but they are not registered in the workspace. You'd need to import them into the workspace should you want to inspect them in the IDE.
Created attachment 186995 [details]
org.eclipse.buckminster.pde-tp_features_build.patch
The attached patch deals with the most serious problem in this issue: an empty source feature being generated.
The patch makes sure the bogus feature is not generated.
Patch applied to helios-maintenance, rev 11657. |