You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2026/08/18 12:25:14 UTC
[Bug 70186] New: Exec task lacks an "outputEncoding"/"errorEncoding"/"inputEncoding" attribute
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: notifications@ant.apache.org
Reporter: robert.flaherty@oracle.com
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.
[Bug 70186] Exec task lacks an "outputEncoding"/"errorEncoding"/"inputEncoding" attribute
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=70186
Robert Flaherty <ro...@oracle.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Robert Flaherty <ro...@oracle.com> ---
I think these need the constructor
outputEncoding/errorEncoding/DEFAULT_ENCODING
hooks also.
Redirector.java
outPrintStream = new PrintStream(outputStream);
outPrintStream = new PrintStream(outputStream);
errorPrintStream = new PrintStream(errorStream);
errorPrintStream = new PrintStream(errorStream);
--
You are receiving this mail because:
You are the assignee for the bug.