But I dont known set Constants.FRAMEWORK_BOOTDELEGATION.
When I set value to Constants.FRAMEWORK_BUNDLE_PARENT_EXT, then I get exception:
---------------------------------------------------------
Concierge OSGi 5.0.0.alpha on Windows 7 6.1 starting ... (default) startlevel=3
---------------------------------------------------------
---------------------------------------------------------
Framework started in 0.003 seconds.
---------------------------------------------------------
Loading XBundle
Hello from my firstbundle...
org.osgi.framework.BundleException: Error starting bundle [sk.ltorok.xbundle-1.0.0]
at org.eclipse.concierge.BundleImpl.activate0(BundleImpl.java:521)
at org.eclipse.concierge.BundleImpl.activate(BundleImpl.java:473)
at org.eclipse.concierge.BundleImpl.start(BundleImpl.java:427)
at org.eclipse.concierge.BundleImpl.start(BundleImpl.java:367)
at com.javafx.experiments.dukepad.starter.StarterApplication.lambda$startOSGi$27(StarterApplication.java:168)
at com.javafx.experiments.dukepad.starter.StarterApplication$$Lambda$99/770785674.run(Unknown Source)
at com.javafx.experiments.dukepad.starter.StarterApplication$2.run(StarterApplication.java:194)
at com.sun.javafx.application.PlatformImpl.lambda$null$169(PlatformImpl.java:295)
at com.sun.javafx.application.PlatformImpl$$Lambda$48/1097488683.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$170(PlatformImpl.java:294)
at com.sun.javafx.application.PlatformImpl$$Lambda$46/1232367853.run(Unknown Source)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$144(WinApplication.java:101)
at com.sun.glass.ui.win.WinApplication$$Lambda$36/1161082381.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: javafx/scene/Scene
at sk.ltorok.xbundle.Activator.start(Activator.java:20)
at org.eclipse.concierge.BundleImpl.activate0(BundleImpl.java:496)
... 16 more
Caused by: java.lang.ClassNotFoundException: javafx.scene.Scene
at org.eclipse.concierge.BundleImpl$Revision$BundleClassLoader.findClass(BundleImpl.java:2431)
at org.eclipse.concierge.BundleImpl$Revision$BundleClassLoader.loadClass(BundleImpl.java:2410)
... 18 more
BUILD STOPPED (total time: 1 minute 2 seconds)
Note: I dont want set Import-Package to javafx packages a I dont want set Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA to any javafx packages.