cli.setWorkingDirectory(basedir.getAbsolutePath());
cli.setExecutable(executable.getAbsolutePath());
cli.addArguments(buildCommandArguments());
Writer stringWriter = new StringWriter();
StreamConsumer out = new WriterStreamConsumer(stringWriter);
StreamConsumer err = new WriterStreamConsumer(stringWriter);
try {
int returnCode = CommandLineUtils.executeCommandLine(cli, out, err);
getLog().info("NDoc output:");