protected void clean(IProgressMonitor monitor) throws CoreException { File f = getProject() .getLocation() .append( JavaCore.create(getProject()) .getOutputLocation() .makeRelativeTo(getProject().getFullPath())) .toFile(); try { FileCommands.delete(new AbsolutePath(f.getPath())); } catch (IOException e) { } }