wfRepository.setSourceDirs(Arrays.asList(srcDir.getAbsolutePath()));
wfRepository.start();
//wfRepository.shutdown
LoggingStatisticCollector runtimeStatisticsCollector = new LoggingStatisticCollector();
runtimeStatisticsCollector.start();
//statisticsCollector.shutdown();
DatabaseData databaseData = setupDerbyDatabase(wfRepository,runtimeStatisticsCollector);
// DatabaseData databaseData = setupOracleDatabase(wfRepository,runtimeStatisticsCollector);