"phing.types.Path does not support nested text data" - what does this mean?

I have the following Phing configuration file:

<?xml version="1.0" encoding="UTF-8"?>
<project name="ru.fractalizer.phpsweetpdo" default="make-phar-packages" basedir="..">

    <target name="run-tests-library" description="Running all the tests">
        <phpunit>
            <formatter type="plain" usefile="false"/>
            <batchtest>
                <classpath>.</classpath>
                <fileset dir="tests/Library">
                    <include name="**/*Test*.php"/>
                </fileset>
            </batchtest>
        </phpunit>
    </target>

But doing Phing on this goal gives me an error:

The execution of the run-tests-library target failed for the following reason: Z: \ Work \ PHP \ phpSweetPDO \ phing \ build.xml: 5: 17: phing.types.Path does not support nested text data.

BUILD FAILED Z: \ Work \ PHP \ phpSweetPDO \ phing \ build.xml: 5: 17: phing.types.Path does not support nested text data. Total time: 9.0173 seconds

I do not understand the message. What exactly is not supported?

5:17 is the line in which the tag is written "<phpunit>".

+5
source share
1

:

<classpath>.</classpath>

- .. :

  • pathelement.
  • fileset, dirset .
  • path.

, ,

<classpath path="." />

- .

Path-like Structures Ant.

+4

All Articles