在
<testng>任务中,只需提供tomcat库作为附加的classpath元素。
<TestNG> <classpath> <pathelement path="${classpath}"/> <pathelement location="path/to/tomcat/lib.jar"/> </classpath></TestNG>
在
<testng>任务中,只需提供tomcat库作为附加的classpath元素。
<TestNG> <classpath> <pathelement path="${classpath}"/> <pathelement location="path/to/tomcat/lib.jar"/> </classpath></TestNG>