for (int i = 0; i < files.length; i++) {
File f = new File(baseDir, files[i]);
try {
log("parse file " + f, Project.MSG_VERBOSE);
ret.addFile(f);
} catch (IOException ioe) {
throw new BuildException("I/O Error while parsing file " + f, ioe);
} catch (com.sun.grid.cull.ParseException e) {
throw new BuildException("Parse Error: " + f + ": " + e.getMessage(), e);
}