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.
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:
I understand it is failing because the XML file is empty. Try the
attached file, instead a simple touch.
Hope it helps,
Chemi.
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.
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:
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.
manonfire wrote:
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.
I understand it is failing because the XML file is empty. Try the
attached file, instead a simple touch.
Hope it helps,
Chemi.
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.