| Summary: | Ability to disable greedy behavior of optional dependencies in Indigo | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Martin Oberhuber <mober.at+eclipse> |
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | admin, ahunter.eclipse, david_williams, DetelinYordanov, dstevens, irbull, jan.sievers, jdmiles, jeffmcaffer, john.arthorne, katya.stoycheva, manderse, manuel.maier, martin.gutschelhofer, martin.skorsky, mauromol, mknauer, mober.at+eclipse, natalia.bartol, Olivier_Thomann, pascal, rdayal, sil.s06, susan, t-oberlies, thomas, tjwatson, tmhouser, udo.hafermann |
| Version: | 3.4.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 247099 | ||
| Bug Blocks: | |||
|
Description
Martin Oberhuber
I have validated that adding a p2.inf file to a bundle with optional runtime dependencies actually works, in order to convert those dependencies into being non-greedy. I filed 2 bugs for fixing this in the Eclipse Platform in Indigo SR1: - bug 351830 (org.eclipse.pde.runtime --> JDT) - bug 351833 (org.apache.lucene --> Lucene optional add-ons) I feel that if original bundle maintainers can make a clear decision on their own bundle to mark dependencies as either greedy or not, and explicitly mark them up properly, it's a good step towards clear, reproducable installs in the Indigo timeframe already. It also adresses the "educate people" concern from bug 247099 comment 62, since any bundle that explicitly marks up their optional dependencies through a p2.inf will not have their metadata changed when the publisher's behavior changes. I'd still like to see part 1 of my concern adressed: > How can we change our product to use correct metadata for bundles > discovered via the dropins mechanism? Since this bug mentions "indigo" by name, I think it should be closed as "won't fix" to be clearer. I don't really understand the remaining "part 1" question, but if it is a "how to question", probably doesn't belong in a bug report at all :) and from a VERY quick read, doesn't seem related to the title. Thanks, Too late for Indigo. See bug 247099 for resolution in Juno. |