File rd = getRepositoryDir();
// TODO 7: should we cache r here? Who will be closing r?
FileRepository r = new FileRepositoryBuilder().setWorkTree(rd).build();
if (!r.getObjectDatabase().exists()){
r.create();
try {
new FilePath(rd).untarFrom(JenkowWorkflowRepository.class.getResourceAsStream("/jenkow-repository-seed.tar"),FilePath.TarCompression.NONE);
} catch (InterruptedException e1) {
LOGGER.log(Level.WARNING, "Seeding of jenkow-repository failed",e1);