}
public Map<String, File> getSources() {
// write generated to code to ouput dir
if (sources == null) {
CodeWriterImpl codeWriter;
try {
codeWriter = new CodeWriterImpl((String) properties.get("com.envoisolutions.sxc.output.directory"));
write(codeWriter);
} catch (IOException e) {
throw new BuildException(e);
}
sources = codeWriter.getSources();
}
return sources;
}