So I ended up configuring EMMA with Ant. The coverage of the test cases I have written so far (all classes except XMLMessageProvider) is now 100%.

(While setting up EMMA with Ant, I ran into the ClassNotFoundError again, and remembered this occurs when the EMMA instrumentation does not take interfaces - which are not instrumented - into account. So I assume the EMMA maven plugin needs to be reconfigured somehow. However that is done...)

At 2005-04-21 07:10, you wrote:
At 2005-04-20 23:05, you wrote:
There were server errors earlier today. Did you ever get this to run?

Nope.
Tried Maven + Emma too, without luck. It either produced coverage data OR an empty report; never used the data to create a report.
I should probably read up on how Maven works (or simply add Emma to Ant), but I would prefer to spend my time on the code rather than the setup.


  Mattias Jiderhamn

At 2005-04-20 09:47, Mattias J wrote:
B.t.w James: Thought I'd run your new Maven config to see the coverage of the tests I've added. Though I have not checked out .../commons-build/sandbox-project.xml and currently I cannot access the SVN server.

Sorry if this is because I'm a newbie with Maven, but I am not able to get this to work.
I have downloaded the commons-build SVN-files and can build and test with Maven. But if i run "maven jcoverage" all the tests fail, most with java.lang.NoClassDefFoundError, assumably because either the instrumented classes or some jcoverage libraries are not on the classpath. What do I need to do to my environment to get this working?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to