// notice we add our listener after we set the properties - we do not want the password to be in the log file
// our dbupgrade script will echo the property settings, so we can still get the other values
project.addBuildListener(new LoggerAntBuildListener(logFileOutput));
for (Map.Entry<Object, Object> taskDef : taskDefs.entrySet()) {
project.addTaskDefinition(taskDef.getKey().toString(),
Class.forName(taskDef.getValue().toString(), true, classLoader));
}
new ProjectHelper2().parse(project, buildFile);
project.executeTarget(project.getDefaultTarget());