} catch (Exception e) {
logger.logError("Unable to refresh Bnd workspace", e);
}
/* Version control ignores */
VersionControlIgnoresManager versionControlIgnoresManager = Plugin.getDefault().getVersionControlIgnoresManager();
Set<String> enabledIgnorePlugins = new BndPreferences().getVersionControlIgnoresPluginsEnabled(versionControlIgnoresManager, cnfJavaProject, null);
Map<String,String> sourceOutputLocations = JavaProjectUtils.getSourceOutputLocations(cnfJavaProject);
versionControlIgnoresManager.createProjectIgnores(enabledIgnorePlugins, cnfJavaProject.getProject().getLocation().toFile(), sourceOutputLocations, ProjectPaths.get(ProjectLayout.BND).getTargetDir());
String templateIgnores = null;
try {
templateIgnores = templateConfig.getAttribute("ignores");
} catch (Exception e) {
logger.logError("Could not retrieve the 'ignores' property from the cnf template " + bsn, e);
}
if (templateIgnores != null && !templateIgnores.isEmpty()) {
versionControlIgnoresManager.addIgnores(enabledIgnorePlugins, cnfJavaProject.getProject().getLocation().toFile(), templateIgnores);
}
/* Headless build files */
String nobuild = templateConfig.getAttribute("nobuild");
if (!Processor.isTrue(nobuild)) {