for (int i = 0; i < schemaFiles.length; i++) {
log("Reading schema file " + schemaFiles[i], Project.MSG_VERBOSE);
try {
SchemaSG schemaSG = generator.generate(schemaFiles[i]);
if (producesFilesSet != null) {
JavaSourceFactory jsf = schemaSG.getJavaSourceFactory();
File targetDirectory = getTarget();
for (Iterator iter = jsf.getJavaSources(); iter.hasNext(); ) {
JavaSource js = (JavaSource) iter.next();
File f = jsf.getLocation(targetDirectory, js).getAbsoluteFile();
producesFilesSet.remove(f);
}
for (Iterator iter = jsf.getTextFiles(); iter.hasNext(); ) {
TextFile tf = (TextFile) iter.next();
File f = jsf.getLocation(targetDirectory, tf).getAbsoluteFile();
producesFilesSet.remove(f);
}
}
} catch (SAXParseException e) {
String msg = LocSAXException.formatMsg(e.getMessage() == null ? e.getClass().getName() : e.getMessage(),