您的位置:首页 > 其它

ant配置

2015-08-02 21:55 232 查看
<?xml version="1.0" encoding="GBK"?>

<project name="Wangyi" basedir="." default="transform">

  <property name= "lib.dir" value= "F:\java\Wangyi\lib" />

<path id= "test.classpath" >

<!-- adding the saxon jar to your classpath -->

<fileset dir= "${lib.dir}" includes= "*.jar" />

</path>

<target name= "transform" >

<xslt in= "F:/java/Wangyi/test-output/testng-results.xml" style= "F:/java/Wangyi/test-output/testng-results.xsl"

out= "F:/java/Wangyi/test-output/index1.html " >

<!-- you need to specify the directory here again -->

<param name= "testNgXslt.outputDir" expression= "F:/java/Wangyi/test-output/" />

<classpath refid= "test.classpath" />

</xslt>

</target>
</project>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: