ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36667] New: - Allow specification of a different logger for subtasks
Date Thu, 15 Sep 2005 11:30:59 GMT
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: ondrej@svetlik.info


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message