code: public void setOut(String outprop) {
      this.outprop = outprop;
      out = new ByteArrayOutputStream();
      if (outprop.equals(errprop))
        err = out;
    }
docs: Sets the property into which System.out will be written.
  @param outprop The name of the property into which System.out is written.
  If the property is defined before this task is executed, it will not be updated.