OSGi Integration testing with DM Server
I want to implement OSGi Integration test for my dynamic bundle with DM Server. I read docs about integration testing in OSGi and do that as suggested: extended AbstractConfigurableBundleCreatorTests, defined getTestBundlesNames, defined getSettingsLocation to bundle.properties where specified path to MANIFEST.MF to be used for testing bundle.
But i'm using Import-Library: and Import-Bundle: manifest tags so i'm getting java.lang.NoClassDefFoundError. If i change Import-Bundle to Import-Package: it finds classes. But i don't want to import thousands of packages in all dynamic modules just to get tests working.
Is there any way to get %subject% with Import-Bundle: declarations?
How would be wonderful if we had sources for life