Filepath confusion for junitLogPublisher
![]()
Hi Guys,
I am trying to implement junitLogPublisher.I keep getting an exception com.ibm.team.build.common.TeamBuildException: Exception parsing the path. Currently, i'm using <touch> my filepath attribute is set to exact path i.e. filePath="sompath/junit.xml" but I get an exception.Yes, my junit tests are failing maybe beacuse it goes to parse an empty file it throws an exception but besides that am I doing something wrong in the filepath attribute.Do u guys create the filepath xml file before refer it to junitLogPublisher's filepath or does it automaticlaly create the file.I'm already referenced it . <taskdef> Your comments will be appreciated.thanks. |
3 answers
![]()
manonfire wrote:
Hi Guys, I understand it is failing because the XML file is empty. Try the attached file, instead a simple touch. Hope it helps, Chemi. |
![]()
Chemi wrote:
manonfire wrote: And the ANT Task I am using is (note that I am using basedir="." at <project> tag): <junit> <formatter> <test> <classpath> <pathelement> <pathelement> </classpath> </junit> <Publish> <logPublisher> Regards, Chemi. |
![]()
I am using ThunderBird through NNTP Server and it seems attaches and XML
tags are not well synchronized with Web Server. I have sent you a direct mail. Regards, Chemi. |