if (file.exists()) {
<BUG>file.setContents(resourceAsStream, true, true, new NullProgressMonitor());
</BUG>
} else {
<BUG>file.create(resourceAsStream, true, new NullProgressMonitor());

}</BUG>
}
public void createOsgiBundleManifest(OsgiBundleManifest osgiManifest) throws CoreException, IOException {
Manifest m = new Manifest();

if (file.exists()) {
file.setContents(contents, true, true, new NullProgressMonitor());
} else {
file.create(contents, true, new NullProgressMonitor());
}
} finally {
IOUtils.closeQuietly(contents);
}
}
public void createOsgiBundleManifest(OsgiBundleManifest osgiManifest) throws CoreException, IOException {
Manifest m = new Manifest();
