Community
Participate
Working Groups
This has been mentioned in bug 241477 comment 15 and bug 278657 but never got sufficient attention: The touchpoint action setProgramProperty is too coarse-grained for some properties that have a list semantics like specifically: osgi.hook.configurators.include In order to be good citizens we should be able to add/remove single elements of this property without destroying what other plug-ins might have entered here. This is a pre-requisite for any two plug-ins using adaptor hooks to coexist in the same Eclipse installation without manual tweaking. I assume that other properties exist that would benefit from a general solution rather than adding special case handling for adaptor hooks, no?
Increasing priority because of its importance in release train components. Currently two release train components using framework extensions can't be installed together.
This is similar to the work that we (Matt?) did to handle VM args.
I'm not sure, but we may need to add a new action since the one we have is not an add, but a set.
Yes, this instruction would be specified to properties whose values are comma-separated lists, and would add/remove entries from the value list (removing the property altogether only if the last list item is removed).
Created attachment 187998 [details] patch Here is a patch implementing the new action. Pascal, can you take a quick look and let me know what you think? Thanks.
Comment on attachment 187998 [details] patch SetProgramPropertyAction looks similar to my new SetSystemPropertyAction so I'm going to: - remove the new class - rename my add/remove to be consistent with the old one
Created attachment 188004 [details] patch New patch with add/remove program property Eclipse touchpoint action.
Might as well update the doc right away before it's forgotten: http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html
Created attachment 188190 [details] patch Updated patch including ISV doc changes as well as renamed the action args from key/value to propName/propValue to match the other actions.
Patch released to HEAD.
Thanks to everybody! I will adopt this as soon as it shows up in an I-build.