From: Woodward, J. <Joh...@sa...> - 2005-03-22 15:52:47
|
Another potential issue other than the jdk version is that it doesn't look like Cobertura plays well with AspectJ. After changing my jdk to 1.5 and attempting to just instrument the code with cobertura, I get the following: =20 [cobertura-instrument] Exception in thread "main" java.lang.IllegalArgumentException: Unknown attribute type: org.aspect j.weaver.WeaverVersion [cobertura-instrument] at org.objectweb.asm.Attribute.a(Unknown Source) [cobertura-instrument] at org.objectweb.asm.ClassWriter.toByteArray(Unknown Source) [cobertura-instrument] at net.sourceforge.cobertura.coverage.Main.addInstrumentation(Main.java:120 ) [cobertura-instrument] at net.sourceforge.cobertura.coverage.Main.addInstrumentation(Main.java:172 ) [cobertura-instrument] at net.sourceforge.cobertura.coverage.Main.parseArguments(Main.java:189) [cobertura-instrument] at net.sourceforge.cobertura.coverage.Main.main(Main.java:248) =20 =20 j =20 =20 =20 |