DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37958>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37958 Summary: Redirector does not call ChainReaderHelper.setProject Product: Ant Version: 1.6.5 Platform: All OS/Version: All Status: NEW Severity: minor Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] When a ChainReaderHelper is used in the Concat, LoadFile and LoadProperties tasks, the FilterMapper type, and FileUtils (or ResourceUtils now), the Project is set on each ChainReaderHelper instance. But the Redirector does not set the Project. This makes it difficult to have a custom filter that can write to the log from a redirector in (for example) an Exec task. The fix is easy: add this line: helper.setProject(managingTask.getProject()); after each instatiation of ChainReaderHelper (lines 520, 549 and 587) in taskdefs/Redirector.java. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]