请参见下面的示例。
<concat destfile="dest-file">
<fileset dir="dir1" />
<!-- how to append the output of the executable below without creating a temporary file for that output? -->
<apply executable="command1">...</apply>
</concat>
Run Code Online (Sandbox Code Playgroud)
和任务 支持s,apply因此您可以执行以下操作:execredirector
<apply executable="command1" >
<redirector append="true" output="file.log" />
</apply>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
267 次 |
| 最近记录: |