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 b83803a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Bundle-ManifestVersion: 2
Bundle-Name: %bundleName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.equinox.transforms.hook
Bundle-Version: 1.4.100.qualifier
Bundle-Version: 1.4.200.qualifier
Fragment-Host: org.eclipse.osgi;bundle-version="[3.10.0,4.0.0)"
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 @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %bundleName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.equinox.transforms.xslt
Bundle-Version: 1.3.100.qualifier
Bundle-Version: 1.3.200.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-17
Import-Package: org.eclipse.osgi.framework.log;version="1.0.0",
org.osgi.framework;version="1.3.0",
Expand All @@ -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 b83803a

Please sign in to comment.