FileOutputStream stream = new FileOutputStream(new File(repositoryLocation, "content.xml"));
try {
MetadataSerializable serializer = osgiServices.getService(MetadataSerializable.class);
Set<?> targetPlatformInstallableUnits = TychoProjectUtils.getTargetPlatform(module)
.getNonReactorUnits();
serializer.serialize(stream, targetPlatformInstallableUnits);
} finally {
stream.close();
}
return repositoryLocation;
} catch (IOException e) {