views:

655

answers:

1

here is my build.xml code:

 <target name="checkout">
    <exec executable="svn" dir="${basedir}/source">
        <arg line="up" />
    </exec>
 </target>

 <target name="php-documentor">
    <exec executable="phpdoc" dir="${basedir}/source" logerror="on">
        <arg line="-ct type -ue on -t ${basedir}/build/api
                   -tb /usr/share/php/data/phpUnderControl/data/phpdoc
                   -o HTML:Phpuc:phpuc
                   -d ${basedir}/source/trunk/application/modules
                   -i *.phtml,*/views/scripts/*,*/html/* "/>
    </exec>
 </target>

 <target name="phpunit">
    <exec executable="phpunit" dir="${basedir}/source/tests" failonerror="true">
        <arg line="--log-xml ${basedir}/build/logs/phpunit.xml
                   --log-pmd ${basedir}/build/logs/phpunit.pmd.xml
                   --log-metrics ${basedir}/build/logs/phpunit.metrics.xml
                   --coverage-xml ${basedir}/build/logs/phpunit.coverage.xml
                   --coverage-html ${basedir}/build/coverage
                   SeleneseTests" />
    </exec>
 </target>

 <target name="build" depends="checkout,php-documentor, phpunit" />

GETTING THIS IN THE LOG FILE:

MergeLogger - projects/phase-four/build/logs/phpunit.xml is empty.

A: 

Faced the same (Windows 7, TeamCity, PHPUntit 3.5) any updates?

Comma