Community
Participate
Working Groups
Although build.properties has set the version to 3.0.0, many template.mf and MANIFEST.MF files refer to version 2.2.0. This is noticeable in the kernel, for example. One consequence is that some tests no longer run under Eclipse, e.g. StandardKernelIntegrationTests fails with: org.osgi.framework.BundleException: Bundle org.eclipse.virgo.kernel.agent.dm 2.2.0 failed to start. at org.eclipse.virgo.osgi.launcher.FrameworkBuilder.installAndStartBundles(FrameworkBuilder.java:189) at org.eclipse.virgo.osgi.launcher.FrameworkBuilder.start(FrameworkBuilder.java:159) at org.eclipse.virgo.test.framework.OsgiTestRunner.launchOsgi(OsgiTestRunner.java:145) at org.eclipse.virgo.test.framework.OsgiTestRunner.run(OsgiTestRunner.java:79) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: org.osgi.framework.BundleException: The bundle "org.eclipse.virgo.kernel.agent.dm_2.2.0 [25]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.virgo.kernel.osgi.region; version="[3.0.0,3.1.0)" at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1315) at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1299) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:322) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:287) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:279) at org.eclipse.virgo.osgi.launcher.FrameworkBuilder.installAndStartBundles(FrameworkBuilder.java:187) ... 9 more
Please look back at the commits that upgraded the version to 2.1.0 to see if there are any other missing changes for the change to 3.0.0. Thanks!
All manifests updated but a long term fix is required as this problem will occur again when we move to 4.0.