Hi, I have two question about Provide capability and Require-Capability.
Background: you declare that you provide ds in version 1.2 via the following snippet in your MANIFEST.MF Provide-Capability: osgi.extender; osgi.extender="osgi.component"; version:Version="1.2"; uses:="org.osgi.service. A plug-in which requires his capablitiy defines the following: Require-Capability: osgi.extender; filter:="(&(osgi.extender=osgi.component)(version>=1.2)(!(version>=2.0)))" The first question is: Where is this defined that these are the correct entries? I use http://git.eclipse.org/c/equinox/rt.equinox.bundles.git/commit/?id=cff4c8e643032ce870dfc9e8279cd5fb16218f4e to "remember" the correct way to define it, but I guess there is a more general way. The second question is. What is the correct way to use Provide-Capability and Provide-Capability for my customer code? In my example, I provide a service via DS and want to ensure that the consumer is only started if the service is available. I think Require-Capability is the correct way, but I have not seen an example for a customer capability yet. Best regards, Lars -- Eclipse Platform UI and e4 project co-lead CEO vogella GmbH Haindaalwisch 17a, 22395 Hamburg Amtsgericht Hamburg: HRB 127058 Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel USt-IdNr.: DE284122352 Fax (040) 5247 6322, Email: [email protected], Web: http://www.vogella.com _______________________________________________ equinox-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/equinox-dev
