Issue #5264 - Fixing OSGi tests
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
b56733915b
commit
32875aa564
|
@ -49,7 +49,7 @@
|
||||||
<Bundle-SymbolicName>${bundle-symbolic-name}</Bundle-SymbolicName>
|
<Bundle-SymbolicName>${bundle-symbolic-name}</Bundle-SymbolicName>
|
||||||
<Bundle-Name>Jetty OSGi Test WebApp Fragment</Bundle-Name>
|
<Bundle-Name>Jetty OSGi Test WebApp Fragment</Bundle-Name>
|
||||||
<Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
|
<Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
|
||||||
<Fragment-Host>org.eclipse.jetty.tests.test-spec-webapp</Fragment-Host>
|
<Fragment-Host>org.eclipse.jetty.demos.demo-spec-webapp</Fragment-Host>
|
||||||
<Jetty-WarFragmentResourcePath>/</Jetty-WarFragmentResourcePath>
|
<Jetty-WarFragmentResourcePath>/</Jetty-WarFragmentResourcePath>
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -89,7 +89,7 @@ public class TestJettyOSGiBootWithAnnotations
|
||||||
res.add(mavenBundle().groupId("org.eclipse.jetty.tests").artifactId("test-container-initializer").versionAsInProject());
|
res.add(mavenBundle().groupId("org.eclipse.jetty.tests").artifactId("test-container-initializer").versionAsInProject());
|
||||||
res.add(mavenBundle().groupId("org.eclipse.jetty.tests").artifactId("test-mock-resources").versionAsInProject());
|
res.add(mavenBundle().groupId("org.eclipse.jetty.tests").artifactId("test-mock-resources").versionAsInProject());
|
||||||
//test webapp bundle
|
//test webapp bundle
|
||||||
res.add(mavenBundle().groupId("org.eclipse.jetty.tests").artifactId("test-spec-webapp").classifier("webbundle").versionAsInProject());
|
res.add(mavenBundle().groupId("org.eclipse.jetty.demos").artifactId("demo-spec-webapp").classifier("webbundle").versionAsInProject());
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ public class TestJettyOSGiBootWithJavaxWebSocket
|
||||||
startBundle(bundleContext, "org.eclipse.jetty.websocket.javax.common");
|
startBundle(bundleContext, "org.eclipse.jetty.websocket.javax.common");
|
||||||
startBundle(bundleContext, "org.eclipse.jetty.websocket.javax.client");
|
startBundle(bundleContext, "org.eclipse.jetty.websocket.javax.client");
|
||||||
startBundle(bundleContext, "org.eclipse.jetty.websocket.javax.server");
|
startBundle(bundleContext, "org.eclipse.jetty.websocket.javax.server");
|
||||||
startBundle(bundleContext, "org.eclipse.jetty.tests.webapp");
|
startBundle(bundleContext, "org.eclipse.jetty.demos.webapp");
|
||||||
|
|
||||||
if (Boolean.getBoolean(TestOSGiUtil.BUNDLE_DEBUG))
|
if (Boolean.getBoolean(TestOSGiUtil.BUNDLE_DEBUG))
|
||||||
TestOSGiUtil.diagnoseBundles(bundleContext);
|
TestOSGiUtil.diagnoseBundles(bundleContext);
|
||||||
|
|
Loading…
Reference in New Issue