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=36667>. 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=36667 Summary: Allow specification of a different logger for subtasks Product: Ant Version: unspecified Platform: All OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] Allow something like this: <ant target="sometarget" logger="org.apache.tools.ant.XmlLogger" logfile="mylog.xml" /> I need to perform a build and store the build log with the resulting jar, but only when some conditions are met. It could look like this: <if> <not> <available file="/results/result.jar" /> </not> <then> <ant target="buildjar" logger="org.apache.tools.ant.XmlLogger" logfile="mylog.xml" /> <copy from="mylog.xml" to="/results/result.xml" /> </then> </if> I hope it is obvious what do I mean. -- 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]