EMMA plugin.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

EMMA plugin.

Nord, James-2
Hi all,
 
I've integrated EMMA into my Maven2 build and have the project building ok in Hudson.  The EMMA plugin is installed and the M2 build is producing emma test coverage.
 
However the build results from hudson don't show any test coverage?  I'm guessing as this is due to the coverage.em being located in the target/emma-classes folder and not the /target/classes folder.
 
Am I correct? if so is there any way to configure the plugin to look elsewhere or do I need to change the emma plugin code?
 
Regards,
 
    /James
*********************************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the addressee only. Any dissemination, copying or distribution of this message or any attachments by anyone other than the intended recipient is strictly prohibited. If you have received this message in error, please immediately notify the [hidden email] and destroy the original message. Messages sent to and from NDS may be monitored. NDS cannot guarantee any message delivery method is secure or error-free. Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission. You should carry out your own virus checks before opening any attachment. Any views or opinions presented are solely those of the author and do not necessarily represent those of NDS.

To protect the environment please do not print this e-mail unless necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England and Wales Registered no. 3080780 VAT no. GB 603 8808 40-00
**********************************************************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: EMMA plugin.

Kohsuke Kawaguchi
Administrator
Nord, James wrote:

> Hi all,
>  
> I've integrated EMMA into my Maven2 build and have the project building
> ok in Hudson.  The EMMA plugin is installed and the M2 build is
> producing emma test coverage.
>  
> However the build results from hudson don't show any test coverage?  I'm
> guessing as this is due to the coverage.em being located in the
> target/emma-classes folder and not the /target/classes folder.
>  
> Am I correct? if so is there any way to configure the plugin to look
> elsewhere or do I need to change the emma plugin code?
I don't think the emma plugin works with the native m2 project type yet;
it only works with the freestyle project type.

If you'd like to see the emma plugin expanded to the native m2 project,
please file an issue. I don't think it's difficult to support that, but
an issue tracker is useful for book-keeping purpose.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment