119120121122123124125126127128129
// Add the manifest to the archive appArchive.setManifest(new Asset() { public InputStream openStream() { return builder.openStream(); } }); } private void addImportsForClass(OSGiManifestBuilder builder, Class<?> javaClass)
// Add the manifest to the archive appArchive.add(new Asset() { public InputStream openStream() { return builder.openStream(); } }, JarFile.MANIFEST_NAME); } private void addImportsForClass(OSGiManifestBuilder builder, Class<?> javaClass)