// This class is automatically added by AbstractOSGiApplicationArchiveProcessor
//archive.addClass(ExplicitTestPackageImportsTestCase.class);
archive.addClass(HelloClass.class);
archive.setManifest(new Asset() {
public InputStream openStream() {
OSGiManifestBuilder builder = OSGiManifestBuilder.newInstance();
builder.addBundleSymbolicName(archive.getName());
builder.addBundleManifestVersion(2);
builder.addExportPackages(HelloClass.class);
// These packages are added automatically by AbstractOSGiApplicationArchiveProcessor
// builder.addImportPackages("org.jboss.arquillian.test.api", "org.jboss.arquillian.junit");
// builder.addImportPackages("org.jboss.shrinkwrap.api", "org.jboss.shrinkwrap.api.asset", "org.jboss.shrinkwrap.api.spec");
// builder.addImportPackages("org.junit", "org.junit.runner", "org.osgi.framework");
// Adding new Import Packages
builder.addImportPackages("org.osgi.service.startlevel", "org.osgi.service.url");
return builder.openStream();
}
});
return archive;
}