super(karafPlatformModel, karafProject);
}
@Override
public void build(final int kind, @SuppressWarnings("rawtypes") final Map args, final IProgressMonitor monitor) throws CoreException {
final IKarafProject karafProject = getKarafProject();
monitor.subTask("Creating OBR for Apache Karaf Project: " + karafProject.getName());
final IFolder platformFolder = karafProject.getFolder("platform");
final IPath obrFile =
platformFolder.getRawLocation().append("eclipse.obr").addFileExtension("xml");
platformFolder.refreshLocal(0, monitor);
final PopulateObrFileJob populateObrJob = new PopulateObrFileJob(karafProject.getName(), obrFile.toFile());
populateObrJob.schedule();
try {
populateObrJob.join();
} catch (final InterruptedException e) {