Report generation issue with Java code not going in html files.

View: New views
2 Messages — Rating Filter:   Alert me  

Report generation issue with Java code not going in html files.

by Jain, Rahul :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,

We have recently started using Cobertura and apart from one issue which
we are facing rest has been smooth sailing and the whole setup looks
good. Basically the issue is as follows,

After our ant build is completed Cobertura report with all the coverage
details gets generated. Trouble is that when I drill down at a class
level, I don't see my java code in the html file. I have attached a
sample html file which gets generated for a java file.

I have all the jar files which are shipped with Cobertura distribution
in my classpath, so it does not look like a jar related issues, still.

If anyone amongst has faced such an error then please let me know if you
managed to fix it. This is obviously a setup issue on my end because I
am able to build Cobertura source code and report is fine.

Thanks,
Rahul

Important:  This e-mail, including any attachment(s) hereto, is intended
only for the individual or entity to whom it is addressed.  It may
contain proprietary, confidential or privileged information or attorney
work product belonging to Fidelity Business Services India Pvt. Ltd.
(FBS India) or its affiliates. If you are not the intended recipient of
this e-mail, or if you have otherwise received this e-mail in error,
please immediately notify the sender via return e-mail and permanently
delete the original mail, any print outs and any copies, including any
attachments. Any dissemination, distribution, alteration or copying of
this e-mail is strictly prohibited. The originator of this e-mail does
not guarantee the security of this message and will not be responsible
for any damages arising from any dissemination, distribution, alteration
or copying of this message and/or any attachments to this message by a
third party or as a result of any virus being passed on.  Any comments
or statements made in this are not necessarily those of FBS India or any
other Fidelity entity.  All e-mails sent from or to FBS India may be
subject to our monitoring and recording procedures.  FBS India is an
Appointed Representative of Fidelity Investments International, which is
authorized and regulated by the United Kingdom Financial Services
Authority. Fidelity Investments International only gives information on
its products and services and does not give investment advice to private
clients based on individual circumstances



-----Original Message-----
From: cobertura-devel-bounces@...
[mailto:cobertura-devel-bounces@...] On Behalf Of
cobertura-devel-request@...
Sent: 13 June 2008 11:33
To: Jain, Rahul (IN)
Subject: Welcome to the "Cobertura-devel" mailing list

Welcome to the Cobertura-devel@... mailing list!

To post to this list, send your email to:

  cobertura-devel@...

General information about the mailing list is at:

  https://lists.sourceforge.net/lists/listinfo/cobertura-devel

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

 
https://lists.sourceforge.net/lists/options/cobertura-devel/rahul.fti.ja
in%40fidelity.co.in


You can also make such adjustments via email by sending a message to:

  Cobertura-devel-request@...

with the word `help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including changing
the password, itself) or to unsubscribe.  It is:

  today123

Normally, Mailman will remind you of your lists.sourceforge.net
mailing list passwords once every month, although you can disable this
if you prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

Coverage Report
Coverage Report - com.fidintl.web.login.service.common.UserTransferObject
 
Classes in this File Line Coverage Branch Coverage Complexity
UserTransferObject
70%
52/74
N/A
0
 

Unable to locate com/fidintl/web/login/service/common/UserTransferObject.java. Have you specified the source directory?


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Cobertura-devel mailing list
Cobertura-devel@...
https://lists.sourceforge.net/lists/listinfo/cobertura-devel

Re: Report generation issue with Java code not going in html files.

by John W. Lewis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Make sure you have a fileset that points to your java source files in <cobertura-report>:

<cobertura-report format="html" destdir="${coveragereport.dir}" >
    <fileset dir="${src.dir}">
        <include name="**/*.java" />
    </fileset>
</cobertura-report>


-----Original Message-----
From: cobertura-devel-bounces@... [mailto:cobertura-devel-bounces@...] On Behalf Of Jain, Rahul (IN)
Sent: Friday, June 13, 2008 2:13 AM
To: cobertura-devel@...
Subject: [Cobertura-devel] Report generation issue with Java code not going in html files.

Hi,

We have recently started using Cobertura and apart from one issue which we are facing rest has been smooth sailing and the whole setup looks good. Basically the issue is as follows,

After our ant build is completed Cobertura report with all the coverage details gets generated. Trouble is that when I drill down at a class level, I don't see my java code in the html file. I have attached a sample html file which gets generated for a java file.

I have all the jar files which are shipped with Cobertura distribution in my classpath, so it does not look like a jar related issues, still.

If anyone amongst has faced such an error then please let me know if you managed to fix it. This is obviously a setup issue on my end because I am able to build Cobertura source code and report is fine.

Thanks,
Rahul

Important:  This e-mail, including any attachment(s) hereto, is intended only for the individual or entity to whom it is addressed.  It may contain proprietary, confidential or privileged information or attorney work product belonging to Fidelity Business Services India Pvt. Ltd.
(FBS India) or its affiliates. If you are not the intended recipient of this e-mail, or if you have otherwise received this e-mail in error, please immediately notify the sender via return e-mail and permanently delete the original mail, any print outs and any copies, including any attachments. Any dissemination, distribution, alteration or copying of this e-mail is strictly prohibited. The originator of this e-mail does not guarantee the security of this message and will not be responsible for any damages arising from any dissemination, distribution, alteration or copying of this message and/or any attachments to this message by a third party or as a result of any virus being passed on.  Any comments or statements made in this are not necessarily those of FBS India or any other Fidelity entity.  All e-mails sent from or to FBS India may be subject to our monitoring and recording procedures.  FBS India is an Appointed Representative of Fidelity Investments International, whic
 h is authorized and regulated by the United Kingdom Financial Services Authority. Fidelity Investments International only gives information on its products and services and does not give investment advice to private clients based on individual circumstances



-----Original Message-----
From: cobertura-devel-bounces@...
[mailto:cobertura-devel-bounces@...] On Behalf Of cobertura-devel-request@...
Sent: 13 June 2008 11:33
To: Jain, Rahul (IN)
Subject: Welcome to the "Cobertura-devel" mailing list

Welcome to the Cobertura-devel@... mailing list!

To post to this list, send your email to:

  cobertura-devel@...

General information about the mailing list is at:

  https://lists.sourceforge.net/lists/listinfo/cobertura-devel

If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at:


https://lists.sourceforge.net/lists/options/cobertura-devel/rahul.fti.ja
in%40fidelity.co.in


You can also make such adjustments via email by sending a message to:

  Cobertura-devel-request@...

with the word `help' in the subject or body (don't include the quotes), and you will get back a message with instructions.

You must know your password to change your options (including changing the password, itself) or to unsubscribe.  It is:

  today123

Normally, Mailman will remind you of your lists.sourceforge.net mailing list passwords once every month, although you can disable this if you prefer.  This reminder will also include instructions on how to unsubscribe or change your account options.  There is also a button on your options page that will email your current password to you.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Cobertura-devel mailing list
Cobertura-devel@...
https://lists.sourceforge.net/lists/listinfo/cobertura-devel
LightInTheBox - Buy quality products at wholesale price