From 42baab2daa796e4bd54f2817b5120b5617eff891 Mon Sep 17 00:00:00 2001 From: BJ Hargrave Date: Sat, 10 Nov 2018 13:06:30 -0500 Subject: [PATCH] gitrepo: Make sun package imports optional 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 --- org.bndtools.templating.gitrepo/bnd.bnd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.bndtools.templating.gitrepo/bnd.bnd b/org.bndtools.templating.gitrepo/bnd.bnd index d556d7d2d..e7c62116a 100644 --- a/org.bndtools.templating.gitrepo/bnd.bnd +++ b/org.bndtools.templating.gitrepo/bnd.bnd @@ -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=!