projectDef.setOutfile(projFile.getCanonicalFile());
} catch (IOException e) {
throw new MojoExecutionException("Unable to create file: "
+ filename, e);
}
task.addProject(projectDef);
task.setProjectsOnly(true);
// we always want an EXE for debugging
task.setOuttype(new OutputTypeEnum());