public int invokeCompiler(){
  List<String> args=getExecArguments();
  for (int i=0; i < args.size(); i++) {
    String arg=args.get(i);
    if (arg.startsWith("-AoutputArgsToFile=")) {
      String fileName=arg.substring(19);
      args.remove(i);
      outputArgumentsToFile(fileName,args);
      break;
    }
  }
  return ExecUtil.execute(args.toArray(new String[args.size()]),System.out,System.err);
}

public int invokeCompiler ( ) { List < String > args = getExecArguments ( ) ; for ( int i = 0 ; i < args . size ( ) ; i ++ ) { String arg = args . get ( i ) ; if ( arg . startsWith ( "-AoutputArgsToFile=" ) ) { String fileName = arg . substring ( 19 ) ; args . remove ( i ) ; outputArgumentsToFile ( fileName , args ) ; break ; } } return ExecUtil . execute ( args . toArray ( new String [ args . size ( ) ] ) , System . out , System . err ) ; }
invoke the jsr308 type annotations compiler with all relevant jars on its classpath or boot classpath
