p.init();
// execute the ant target
ProjectHelper helper = ProjectHelper.getProjectHelper();
p.addReference("ant.projectHelper", helper);
p.addBuildListener(new Log4jListener());
helper.parse(p, buildFile);
p.setProperty("jdbc.driver", "mysql-connector-java-5.1.0-bin.jar");
p.setProperty("main.class", "MolgenisOnMysqlServer");
p.executeTarget("createjar");