更新时间:2022-04-29 09:16:17
{build.junit.reports}" > < junit > < classpath =" tests-classpath" > < 格式化程序 =" 简介" usefile false" / > < batchtest =" 是" todir
{build.junit.reports}"/> <junit> <classpath refid="tests-classpath"/> <formatter type="brief" usefile="false"/> <batchtest fork="yes" todir="
{build.junit.reports}" haltonerror true " an> haltonfailure =" > < 文件集 ="
{build.junit.reports}" haltonerror="true" haltonfailure="true"> <fileset dir="
{src. junit}" > < /文件集 > < include =" **/* Test * .java" > < /include > < 排除 =" **/AllTests.java" > < /排除 < /batchtest > < /junit > < /target >
{src.junit}"></fileset> <include name="**/*Test*.java"></include> <exclude name="**/AllTests.java"></exclude> </batchtest> </junit> </target>
我在运行时遇到的错误:ant clean dist
batchtest不支持嵌套的"include"元素.
谁能告诉我问题出在哪里吗?
谢谢,
鲁道夫
更新:
由OP自己解决.发布解决方案作为答案.
The Error I''m getting when running: ant clean dist
batchtest doesn''t support the nested "include" element.
Can anyone tell me what the problem is?
Thanks,
Rudolf
UPDATE:
Resolved by OP himself. Posted resolution as an answer.