analyzer.setBundleSymbolicName(name);
analyzer.setJar(tempFile);
analyzer.setImportPackage("*;resolution:=optional");
analyzer.setExportPackage("*");
analyzer.analyze();
final Manifest manifest = analyzer.calcManifest();
analyzer.getJar().setManifest(manifest);
final File wrappedTempFile = File.createTempFile("wrapped", ".jar");
analyzer.save(wrappedTempFile, true);
return wrappedTempFile;