我有以下Phing配置文件:“phing.types.Path不支持嵌套文本数据” - 这是什么意思?
<?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>
但执行Phing建立在这个目标给了我错误:
Execution of target "run-tests-library" failed for the following reason: Z:\Work\PHP\phpSweetPDO\phing\build.xml:5:17: phing.types.Path doesn't support nested text data.
BUILD FAILED Z:\Work\PHP\phpSweetPDO\phing\build.xml:5:17: phing.types.Path doesn't support nested text data. Total time: 9.0173 seconds
我不明白的消息。什么不支持?
5:17是写入"<phpunit>"
标签的行。
也许这条线是相关的吗?http://www.phing.info/trac/browser/trunk/classes/phing/IntrospectionHelper.php?rev=311#L365 – hakre
@hakre是的,似乎是这样。但我更希望错误信息更清晰易懂。 –