Hi Jeremy=2E
=0D
Fantastic=2E=2E=2E it worked=2E=2E=2E thanks a lot=2E=2E=2E
Shall I ask you one more question=2E
=0D
I tried to use the same build=2Exml in Windows XP=2E The instrument classes
are generated properly, but=0D
After running the junit test cases, the cobertura=2Eser is not getting
updated ( I have shutdown the weblogic
Server after runnig all test cases)
The weblogic startup file contains the following line also
=0D
-Dnet=2Esourceforge=2Ecobertura=2Edatafile=
=3D"D:\bea814\user_projects\domains\UW
VIPODomain\cobertura=2Eser"
=0D
Any idea about this?
=0D
Thanks in advance
=0D
Regards
Kris
________________________________
From: jeremythomerson@... [mailto:jeremythomerson@...] On
Behalf Of Jeremy Thomerson
Sent: Wednesday, November 23, 2005 9:09 PM
To: Kovath, Krishnakumar
Cc: cobertura-devel@...
Subject: Re: [Cobertura-devel] Cobertura 1=2E6 in Windows not giving
source level coverage in html reports
=0D
Kris,
It looks like you have the wrong value in cobertura-report for
"srcdir"=2E This value should point to the source code, the same folder
that you compile from=2E I hope this helps=2E
Jeremy Thomerson
On 11/23/05, Kovath, Krishnakumar <kkovath@...> wrote:
Hi,
=0D
I have configured my build=2Exml for cobertura 1=2E6
It uses the instrument and reporting task=2E
=0D
<target name=3D"instrument" depends=3D"javacompile">
<mkdir dir=3D"${instrumentedclasses}"/>
<delete file=3D"cobertura=2Eser" />
<cobertura-instrument
todir=3D"${instrumentedclasses}">
<fileset dir=3D"${classesdirectory}">
<include
name=3D"com/ebv/app/**/*=2Eclass"/>
<exclude
name=3D"com/ebv/app/web/**/*=2Eclass"/>
</fileset>
</cobertura-instrument>
<cobertura-instrument
todir=3D"${instrumentedclasses}">
<fileset dir=3D"${classesdirectory}">
<include
name=3D"com/ebv/framework/**/*=2Eclass"/>
<exclude
name=3D"com/ebv/framework/web/**/*=2Eclass"/>
</fileset>
</cobertura-instrument>
<cobertura-instrument
todir=3D"${instrumentedclasses}">
<fileset dir=3D"${classesdirectory}">
<include
name=3D"oracle/**/*=2Eclass"/>
</fileset>
</cobertura-instrument>
<copy overwrite=3D"true"
todir=3D"${classesdirectory}">
<fileset
dir=3D"${instrumentedclasses}"/>
</copy>
</target>
=0D
The instrumentation is working fine after compilation=2E=0D
I am using JUnit test cases from Rational XDE=2E The application is
deployed in Weblogic 8=2E1 SP4
After running the Junit test case, I am stopping Weblogic server and
trying to
Generate html report using the following ant task
=0D
<target name=3D"coverage">
<delete dir=3D"=2E=2E\=2E=2E\coverage" />
<mkdir dir=3D"=2E=2E\=2E=2E\coverage\reports"/>
<mkdir dir=3D"=2E=2E\=2E=2E\coverage\src"/>=0D
<copy todir=3D"=2E=2E\=2E=2E\coverage\src"
file=3D"${domaindirectory}/cobertura=2Eser"/>=0D
<cobertura-report srcdir=3D"=2E=2E\=2E=
=2E\coverage\src"
destdir=3D"=2E=2E\=2E=2E\coverage\reports"/>
</target>
=0D
I would appreciate if some one can help me on this=2E
=0D
Thanks in Advance
=0D
Regards
Kris
This message contains information that may be privileged or confidential
and is the property of the Capgemini Group=2E It is intended only for the
person to whom it is addressed=2E If you are not the intended recipient,
you are not authorized to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof=2E If you receive this
message in error, please notify the sender immediately and delete all
copies of this message=2E
=0D
This message contains information that may be privileged or confidential=
and is the property of the Capgemini Group=2E It is intended only for the=
person to whom it is addressed=2E If you are not the intended recipient, =
you are not authorized to read, print, retain, copy, disseminate, =
distribute, or use this message or any part thereof=2E If you receive this=
message in error, please notify the sender immediately and delete all =
copies of this message=2E
|