https://bz.apache.org/bugzilla/show_bug.cgi?id=70186

            Bug ID: 70186
           Summary: Exec task lacks an
                    "outputEncoding"/"errorEncoding"/"inputEncoding"
                    attribute
           Product: Ant
           Version: 1.10.17
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core tasks
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

The task relies on the VM file.encoding right now, and seems like a worthy
candidate to get its own.

Exec.java (dead?)
    fos = new PrintWriter(new FileWriter(out));
ExecTask.java (just need to relay the encodings to existing methods)
    protected void setupRedirector()
        redirector.setOutputEncoding(outputEncoding);
        redirector.setErrorEncoding(errorEncoding);
        redirector.setInputEncoding(inputEncoding);

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to