Ok, let's sort things out:
1) JaCoCo is a code coverage library which comes with integrations for
Ant and Maven.
2) The letest JaCoCo release 0.7.1 depends on ASM 5.0.1
3) EclEmma is the Eclipse integration of JaCoCo. It incudes all required
dependencies (in cluding ASM, excepts Eclipse of course)
Best regards,
-marc
On 15.08.14 19:09, [email protected] wrote:
Hello,
I just recently found out about EclEmma, and I installed the plugin through
Eclipse's Install Software mechanism using the update website. I am however
having problem running the example. Just to let you know right away, I had
trouble installing the ASM plugin... I kept getting errors using the update
website, so I tried to download the plugin .jar.
I searched a bit through Google to find out how to install it, but I'm not sure
if I did it correctly... I downloaded org.objectweb.asm_2.2.2, put it in my
...\eclipse_kepler\dropins folder, restarted my Eclipse with the -clean option.
I was able to find the org.objectweb.asm_3.3.1.v201105211655.jar in my plugins
folder, which I added to my classpath, the addition of which removed a compile
error in the CoreTutorial file (the one that invokes Instrumenter).
When I try to run the example though, either normally or through Code
Coverage,I get the following exceptions :
Exception in thread "main" java.lang.IncompatibleClassChangeError: class
org.jacoco.core.internal.flow.ClassProbesVisitor has interface
org.objectweb.asm.ClassVisitor as super class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.jacoco.examples.CoreTutorial.execute(CoreTutorial.java:115)
at org.jacoco.examples.CoreTutorial.main(CoreTutorial.java:196)
I am using Kepler Service release 2 (x86)
Version: 4.3.2.v20140221-1852
Build id: M20140221-1700
OS : Windows 8.1 Enterprise, 64-bit
Thanks in advance for your help and I'll be ready to provide any other
information that could help. Good day!
Arnaud
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.