ant诊断到一个单独的文件?
我们可以将ant诊断结果打印到单独的文件中吗? 我在用ant诊断到一个单独的文件?,ant,Ant,我们可以将ant诊断结果打印到单独的文件中吗? 我在用 <target name="diagnostics" description="diagnostics" > <diagnostics/> </target> 它正在控制台中打印。我能想到的唯一方法是从另一个目标中的任务内部调用目标,并让它将输出转储到文本文件中 <project name="help" default="help"> <target name="di
<target name="diagnostics" description="diagnostics" >
<diagnostics/>
</target>
它正在控制台中打印。我能想到的唯一方法是从另一个目标中的任务内部调用目标,并让它将输出转储到文本文件中
<project name="help" default="help">
<target name="diagnostics">
<diagnostics/>
</target>
<target name="help">
<ant output="diag.txt" target="diagnostics"/>
</target>
</project>