Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

...
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
5 ...er-common/src/main/java/org/jboss/arquillian/container/osgi/AbstractOSGiApplicationArchiveProcessor.java
View
@@ -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.delete(ArchivePaths.create(JarFile.MANIFEST_NAME));
appArchive.add(new Asset() {
6 container-remote/src/main/java/org/jboss/arquillian/container/osgi/remote/RemoteDeployableContainer.java
View
@@ -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());
- }
-
@Override
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.