Skip to content

Commit

Permalink
Add a provided capability for the equinox transformer hook
Browse files Browse the repository at this point in the history
Currently there is no way for a transformer hook extension to really
declare any requirement on the transformer feature (beside require
bundle it).

This now adds a provided capability and a corresponding requirement for
the xslt.
  • Loading branch information
laeubi committed Dec 21, 2024
1 parent 2ae64f5 commit 7126868
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Bundle-RequiredExecutionEnvironment: JavaSE-17
Bundle-Localization: transformsHook
Export-Package: org.eclipse.equinox.internal.transforms;x-internal:=true
Automatic-Module-Name: org.eclipse.equinox.transforms.hook

Provide-Capability: osgi.extender;osgi.extender="equinox.transforms.hook"
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Export-Package: org.eclipse.equinox.internal.transforms;x-internal:=true,
org.eclipse.equinox.internal.transforms.xslt;x-internal:=true
Bundle-Activator: org.eclipse.equinox.internal.transforms.xslt.Activator
Automatic-Module-Name: org.eclipse.equinox.transforms.xslt
Require-Capability: osgi.extender;filter:="(osgi.extender=equinox.transforms.hook)"

0 comments on commit 7126868

Please sign in to comment.