Antでログ出力2
Antで、必要な部分のみをログ出力する。
この場合、recordタスクを使う。
こんな感じ。
<record action="start" name="record.txt" />
<echo message="hoge" />
<delete file="a.txt" />
<record action="stop" name="record.txt" />
record.txtの内容。
[echo] hoge
[delete] Deleting: C:\tmp\a.txt
recordタスクを使用すると、startとendの間の処理がファイルに出力されるようになる。
内容は標準出力のものと一緒。