Community
Participate
Working Groups
BundleDependencies annotation can be used to specify extra bundles needed by the specific test case. This is cleaner than specifying all entries in the test.config.properties or in org.eclipse.virgo.kernel.userregion.properties. One thing that is missing - code in OsgiTestRunner.addUserConfiguredBundles does not account for "auto-start" setting. With this change BundleDependencies can be changed like this: <code> @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface BundleDependencies { BundleEnty[] value(); } @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface BundleEnty { String value(); boolean autoStart() default false; } </code>
*** Bug 333598 has been marked as a duplicate of this bug. ***
Fixed with commit 53e9d9cbd5eea133b74adfb590750ad8834ca4b3