project.setName("myproject");
File logDir = new File("test-results");
logDir.mkdir();
project.getLog().setLogDir("test-results");
project.setLogXmlEncoding("ISO-8859-1");
MergeLogger logger = new MergeLogger();
logger.setFile("_auxLog1.xml");
project.getLog().addLogger(logger);
logger = new MergeLogger();
logger.setDir("_auxLogs");
project.getLog().addLogger(logger);
project.setLabelIncrementer(new DefaultLabelIncrementer());
project.setModificationSet(modSet);
project.setLastBuild(formatTime(now));