| Summary: | Don't generate product root feature if there will be no .eclipseproduct file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Kim Moir <kim.moir> | ||||
| Component: | Build | Assignee: | pde-build-inbox <pde-build-inbox> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | aniefer, john.arthorne | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Kim Moir
Created attachment 178073 [details] releng patch Kim, you should use this patch. This is somewhat caused by the non-standard way we generate the p2.inf for the org.eclipse.rcp.configuration feature based on a .product file. When generating features based on .product files, an extra nested feature gets generated named *.root.feature, this feature is used for any extra plugins/features/root files that are supposed to be added to the product. This is also used for generation of the .eclipseproduct file. If this had been a standard product build, the error would not have occured but we would have ended up with a binary artifact that didn't actually contain any files because the .eclipseproduct file wasn't actually generated because our rcp.config product file does not have a name or id. This mostly comes from bug 274517 So there is a problem in the releng setup, it needs to turn this nested feature off because it is just extracting generated files and not actually running that product build. There is also a problem in PDE/Build because we shouldn't generate this feature if we don't actualy end up putting anything in it. Thanks Andrew, I'll try another test build with your patch. Test build was successful, can now build with 3.7M1 bundles. I also back-ported this patch to the 3.6 builder to support maintenance builds: http://git.eclipse.org/c/platform/eclipse.platform.releng.eclipsebuilder.git/commit/?h=R3_6_maintenance&id=a6aea3e3c1c12989feec5eeefd82d878b1305dc4 Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. Please reopen, if you plan to provide a fix. |