public void run(IProgressMonitor monitor) throws InvocationTargetException,
InterruptedException {
monitor.beginTask(UIText.CleanRepositoryPage_cleaningItems, IProgressMonitor.UNKNOWN);
Git git = Git.wrap(repository);
CleanCommand command = git.clean().setDryRun(false);
command.setCleanDirectories(cleanDirectories);
command.setIgnore(!includeIgnored);
command.setPaths(itemsToClean);
try {
command.call();
} catch (GitAPIException ex) {
Activator.logError("cannot call clean command!", ex); //$NON-NLS-1$
}
try {