code: public static void writeBuildConfigToFile( List<String> arguments, String fileName, File outputDir )
          throws IOException
      {
          FileUtils.forceMkdir( outputDir );
          File argFile = new File( outputDir, fileName );
          argFile.getParentFile().mkdirs();
          argFile.createNewFile();
          BufferedWriter writer = new BufferedWriter( new FileWriter( argFile ) );
          for ( String argument : arguments )
          {
              writer.write( argument );
              writer.newLine();
          }
          writer.flush();
          writer.close();
      }
docs: Creates a file that can be used as input to the ajc compiler using the -argdfile flag.
  Each line in these files should contain one option or filename.
  Comments, as in Java, start with // and extend to the end of the line.
  
  @param arguments All arguments passed to ajc in this run
  @param fileName the filename of the argfile
  @param outputDir the build output area.
  @throws IOException