Skip to content

Commit

Permalink
gitrepo: Make sun package imports optional
Browse files Browse the repository at this point in the history
The updated Bnd now finds Class.forName references to these packages
in jgit and imports them. We make the imports optional so we can resolve
in Eclipse.

Signed-off-by: BJ Hargrave <[email protected]>
  • Loading branch information
bjhargrave committed Nov 10, 2018
1 parent 55ea2af commit 42baab2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions org.bndtools.templating.gitrepo/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ Bundle-ActivationPolicy: lazy
Bundle-SymbolicName: org.bndtools.templating.gitrepo; singleton:=true
# Disable ALL Eclipse split package attributes, to ensure we import from the "aggregator" bundle(s).
Import-Package: \
sun.net.www.protocol.*; resolution:=optional,\
sun.security.*; resolution:=optional,\
*;ui.workbench=!;common=!;registry=!;texteditor=!;text=!

0 comments on commit 42baab2

Please sign in to comment.