Re: [java code coverage] Could not find or load main class

2016-09-19 Thread Ashley Simon
 Thanks a lot for the help,
Ashli

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/75c57564-0660-4145-aaf7-050eb0539130%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [java code coverage] Could not find or load main class

2016-09-19 Thread Marc R. Hoffmann

Hi,

I don't think "*" is a valid class name to launch a Java program.

I recommend to make your build running without JaCoCo first.

Also I wonder what you mean with "JavaScript". JaCoCo is a coverage tool 
for compiled languages (like Java) for the JVM. I don't think JaCoCo 
works with JavasScript.


Regards,
-marc

On 19.09.16 07:56, Ashley Simon wrote:

Hi ,
I am doing code coverage using JaCoCo with Ant Tasks.
I am able to get the jacoco.exec and the reports.
But the reports are showing 0% code coverage and there is an error as 
well .

The error is "Could not find or load main class *"

The test part of build.xml is as follows :

 

















I have to do coverage for more than one file which is located under 
*${result.classes.dir} .*

The code is written using JavaScript.

Thanks ,
Ashley Simon
--
You received this message because you are subscribed to the Google 
Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to jacoco+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/a7338110-793f-4ea2-a663-e4ae0436490d%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.



--
Marc Hoffmann
hoffm...@mountainminds.com
___
Mountainminds GmbH & Co. KG

Nussbaumstr. 4 * 80336 Muenchen * Germany
Phone/Fax +49-700-68664637 * 0700-MTNMINDS

Registergericht Muenchen * HRA 80201
Mountainminds Verwaltungs GmbH
Registergericht Muenchen * HRB 143183
Geschaeftsfuehrer Marc Hoffmann

--
You received this message because you are subscribed to the Google Groups "JaCoCo 
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/fbd8641c-e4d3-40f2-0138-189478ba406b%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.