| Summary: | [publisher] Enhance .product to provide Info.plist or other OS manifests? | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Brian de Alwis <bsd> | ||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | christian.georgi, djhartman, gunnar, irbull, jeffmcaffer, klara.ward | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=475640 | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Brian de Alwis
Thinking about it, wouldn't a P2 touchpoint action be a more elegant and extensible way of modifying Info.plists? I have a scenario in mind where a bundle wants to register a URL handler in the system (see bug 351303). On MacOS, this means to augment Info.plist, on Windows this a change in the registry, and on Linux it's some other system file. Such a specific touchpoint action (e.g. 'registerUrlHandler') would allow many bundles to contribute to a standard Info.plist file. The .product approach on the other side would allow for a completely deviating Info.plist, at the price that it's not extensible. @Brian: what do you think? Which approach would cover your scenario? (In reply to Christian Georgi from comment #1) > Thinking about it, wouldn't a P2 touchpoint action be a more elegant and > extensible way of modifying Info.plists? It can only be created and modified before signing (and shipping), though. > It can only be created and modified before signing (and shipping), though.
Well, Info.plist of the Eclipse product is not signed because I can happily modify it w/o issues. I think this was done on purpose to allow such late modifications.
But yes, with signed Info.plists install-time contributions are not possible. The touchpoint action would just fail silently in such cases.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |