четверг, 10 января 2013 г.

How to log Ant output to file and show it on console at the same time?


Put the following string:

<record name="build.log"> </record>

at the beginning of build.xml file.

For example:


<?xml version="1.0" encoding="UTF-8"?>
<project name="name-of-project" default="usage">
    <record name="build.log" append="yes"> </record>

   <!-- ... some targets and properties -->


</project>


Комментариев нет:

Отправить комментарий