executableWorkDir = worksRepository.getExecutableWorkDir(work);
if (!worksRepository.containsWork(work)) {
logger.error("work [" +
worksRepository.getRootDir().getPath()+"/"+work.getWorkName()+ "] not found in repository");
throw new WorkNotFoundException("work [" +
worksRepository.getRootDir().getPath()+"/"+work.getWorkName()+ "] not found in repository");
}
logger.debug("Work [" + work.getWorkName() +"] succesfully found in repository");