db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vemund Ostgaard <Vemund.Ostga...@Sun.COM>
Subject Re: EMMA Code coverage
Date Fri, 28 Mar 2008 10:13:30 GMT
Manjula Kutty wrote:
> I tried  ant emma-all.
>  
> The following error was on the screen
> BUILD FAILED
> C:\derbydev\trunk\build.xml:2199: EMMA instrumented tests failed!
>  It didn't create any other report file
Hi Manjula, I don't know of many reasons for this to fail, the 
possibilities I can think of are:

* You need to download emma.jar and emma_ant.jar and put them in your 
tools/java/ directory.

* If you run with ant 1.7 it should be sufficient that junit.jar is in 
your tools/java/ directory. If you run with ant 1.6.* you probably need 
to make sure that both junit.jar and ant-junit.jar is in ants classpath 
using -lib option for instance.

* The build will fail if one of the tests fail, but that should still 
have produced reports, etc.

Is there no more output than what you have pasted above, from the 
targets that are executed before <emma-all> which it depends on?

Vemund

Mime
View raw message