Hi Mark
did you check whether the instrumentation file actually created that
cobertura.ser where it said it did? If so, before you execute
cobertura:cobertura, move it into the target directory where it is
expected.
There seems to be some sort of mix up within cobertura.
the instrument goal places cobertura.ser into target/generated-classes
the cobertura goal seeks it in target/
Your cobertura config was rudimentary, so I think something else is
conflicting.
Maybe you should post your whole pom.
Adam
Mark Nicholson wrote:
[snip]
recently however it's only generating the coverage report for only 1 of
the 50 classes
in the system out I get the following :
[snip]
C:\jboss\workspace2\PMIConnect>mvn cobertura:instrument
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'cobertura'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building PMIConnect
[INFO] task-segment: [cobertura:instrument]
[INFO]
----------------------------------------------------------------------------
[INFO] [cobertura:instrument]
[INFO] Cobertura 1.8 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
Instrumenting 50 files to
C:\jboss\workspace2\PMIConnect\target\generated-classes\cobertura
[snip]
C:\jboss\workspace2\PMIConnect>mvn cobertura:cobertura
Cobertura: Coverage data file C:\jboss\workspace2\PMIConnect\cobertura.ser
either does not exist or is not readable. Creating a new data file.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]