Menu

Emma plugin for maven

Developers
leitao
2005-03-28
2013-05-09
  • leitao

    leitao - 2005-03-28

    People,
        I am using emma with maven. I want emma disconsider some kind of classe, like *Test* classes. Is there any way? 
    I didnt found it anywhere, so i did some kludge with pluging.jelly.

    Breno Leito
    http://lcr.icmc.usp.br/~leitao

     
    • Chad Woolley

      Chad Woolley - 2005-03-28

      If you set the following properties, all classes in your test tree should be excluded from instrumentation, but the "product" (app) classes will be included:

      maven.emma.mode.product=replace_classes
      maven.emma.mode.testing=none

      -- Chad

       
    • leitao

      leitao - 2005-03-28

      Thank you chad..
         The test i removed. I have removed the an emma post goal (java:compile).
          But i need to remove some Exception class too. Any idea?

      Thank you.
      Breno H. Leito

       
    • Chad Woolley

      Chad Woolley - 2005-03-30

      You should be able to control this through basic emma mechanisms.  See the EMMA docs at http://emma.sourceforge.net/reference_single/reference.html, especially the section on "Defining the instrumentation set".   Someone else may want to jump in with more details.  Good luck

       

Log in to post a comment.