code: public void execute() throws BuildException {
      if (src == null && filesets.size()==0) {
        throw new BuildException("There must be a file attribute or a fileset child element");
      }
      if (src != null) {
        doCompile(src);
      }
      Project myProject = getProject();
      for (int i = 0; i < filesets.size(); i++) {
        FileSet fs = filesets.get(i);
        DirectoryScanner ds = fs.getDirectoryScanner(myProject);
        File dir = fs.getDir(myProject);
        String[] srcs = ds.getIncludedFiles();
        for (int j = 0; j < srcs.length; j++) {
          doCompile(new File(dir, srcs[j]));
        }
      }
    }
docs: Invoke the Hadoop record compiler on each record definition file