Skip to content

Commit 2a14570

Browse files
committed
Delete project markers on Project -> Clean (fixes #110)
Signed-off-by: Sebastian Ratz <[email protected]>
1 parent 81f3cfd commit 2a14570

File tree

1 file changed

+5
-0
lines changed
  • net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/builder

1 file changed

+5
-0
lines changed

net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/builder/PMDBuilder.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ protected IProject[] build(int kind, Map args, IProgressMonitor monitor) throws
6161
return EMPTY_PROJECT_ARRAY;
6262
}
6363

64+
@Override
65+
protected void clean(IProgressMonitor monitor) throws CoreException {
66+
MarkerUtil.deleteAllMarkersIn(getProject());
67+
}
68+
6469
/**
6570
* Automatic build
6671
*

0 commit comments

Comments
 (0)