Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
5 ...ain/java/org/jboss/arquillian/container/osgi/
@@ -104,14 +104,11 @@ private void enhanceApplicationArchive(Archive<?> appArchive, TestClass testClas
// Add the imports required by the test class
addImportsForClass(builder, javaClass);
- // Add common test imports from the arquillian bundle
+ // Add common test imports
builder.addImportPackages("org.jboss.arquillian.container.test.api", "org.jboss.arquillian.junit", "org.jboss.arquillian.osgi", "org.jboss.arquillian.test.api");
builder.addImportPackages("org.jboss.shrinkwrap.api", "org.jboss.shrinkwrap.api.asset", "org.jboss.shrinkwrap.api.spec");
builder.addImportPackages("org.junit", "org.junit.runner", "javax.inject", "org.osgi.framework");
- // This is only available in a JBoss OSGi container
- //builder.addImportPackages("org.jboss.osgi.testing");
// Add or replace the manifest in the archive
appArchive.add(new Asset() {
6 ...e/src/main/java/org/jboss/arquillian/container/osgi/remote/
@@ -104,7 +104,6 @@ public void stop() throws LifecycleException {
public ProtocolMetaData deploy(Archive<?> archive) throws DeploymentException {
try {
BundleHandle handle = installBundle(archive);
- resolveBundle(handle);
deployedBundles.put(archive.getName(), handle);
} catch (RuntimeException rte) {
throw rte;
@@ -150,11 +149,6 @@ private BundleHandle installBundle(VirtualFile virtualFile) throws BundleExcepti
return new BundleHandle(bundleId, info.getSymbolicName());
- private void resolveBundle(BundleHandle handle) throws IOException {
- FrameworkMBean frameworkMBean = jmxSupport.getFrameworkMBean();
- frameworkMBean.refreshBundle(handle.getBundleId());
- }
public void deploy(Descriptor descriptor) throws DeploymentException {
throw new UnsupportedOperationException("OSGi does not support Descriptor deployment");

No commit comments for this range

Something went wrong with that request. Please try again.