ant - Error occurring in command promt while sending command for generating xslt reports -
can please me on .
i trying generate xslt reports using ant , testng.
i amd using eclipse , have created project , test cases running using testng , reports generating.
now want generate reports using ant , have configures ant in system , other thing (build.xml) running fine, till , type "ant makexsltreports" in command prompt on point throwing below error in command prompt :-
build failed d:\projects\projectname\selenium\workspace\build.xml:111: fatal error during trans formation using d:\projects\projectname\selenium\workspace\src\testing\xslt\testng -results.xsl: org.xml.sax.saxparseexception; systemid: file:/d:/projects/plumsli ce/selenium/workspace/src/testing/xslt/testng-results.xsl; linenumber: 27; colum nnumber: 72; attribute name "data-pjax-transient" associated element typ e "meta" must followed ' = ' character.
now , 111 line in build.xml file : - out="${ws.home}/xslt_reports/output/index.html" classpathref="test.c" processor="saxonliaison">
below build.xml file : -
<target name="makexsltreports"> <mkdir dir="${ws.home}/xslt_reports/output"/> <xslt in="${ng.result}/testng-results.xml" style="src/com/testing/xslt/testng-results.xsl" out="${ws.home}/xslt_reports/output/index.html" classpathref="test.c" processor="saxonliaison"> <param name="testngxslt.outputdir" expression="${ws.home}/xslt_reports/output/"/> <param name="testngxslt.showruntimetotals" expression="true"/> </xslt> </target> and
i have resolved ...the problem -- using wrong .xsl file , using new .xsl file , generating reports , working fine....
Comments
Post a Comment