Skip to content

Commit

Permalink
Merge pull request #6383 from chrisrueger/fix-Bndtools-Workspace-Prob…
Browse files Browse the repository at this point in the history
…lem-Markers-not-removed

Remove fixed bnd workspace problem markers from Problem view again
  • Loading branch information
chrisrueger authored Dec 5, 2024
2 parents cd67ef2 + 12017f9 commit f5baa68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bndtools.builder/src/org/bndtools/builder/CnfWatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ public IStatus runInWorkspace(IProgressMonitor arg0) throws CoreException {
MarkerSupport ms = new MarkerSupport(cnfProject);
ms.deleteMarkers("*");
ms.setMarkers(workspace, BndtoolsConstants.MARKER_BND_WORKSPACE_PROBLEM);
// clear errors/warnings, to avoid re-adding
workspace.clear();
} catch (Exception e) {
return new Status(IStatus.ERROR, BndtoolsBuilder.PLUGIN_ID,
"error during workspace refresh",
Expand Down

0 comments on commit f5baa68

Please sign in to comment.