You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2009/11/07 23:36:32 UTC

[jira] Created: (MATH-319) Include "cobertura" target in "build.xml"

Include "cobertura" target in "build.xml"
-----------------------------------------

                 Key: MATH-319
                 URL: https://issues.apache.org/jira/browse/MATH-319
             Project: Commons Math
          Issue Type: Wish
            Reporter: Gilles
            Priority: Minor


Can we have the possibility to run "cobertura" on the unit tests?
This would provide useful hints when chasing bugs.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MATH-319) Include "cobertura" target in "build.xml"

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774685#action_12774685 ] 

Henri Yandell commented on MATH-319:
------------------------------------

Cobertura is already hooked up as a part of Maven2:

http://commons.apache.org/math/cobertura/index.html

Adding it to Ant is adding more duplication - generally the Ant builds tend to just be there to support non-Maven users in the basic act of compiling.

> Include "cobertura" target in "build.xml"
> -----------------------------------------
>
>                 Key: MATH-319
>                 URL: https://issues.apache.org/jira/browse/MATH-319
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Priority: Minor
>         Attachments: build.xml.diff
>
>
> Can we have the possibility to run "cobertura" on the unit tests?
> This would provide useful hints when chasing bugs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (MATH-319) Include "cobertura" target in "build.xml"

Posted by "Gilles (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MATH-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles closed MATH-319.
-----------------------

    Resolution: Won't Fix

Since the "build.xml" is somewhat deprecated, I remove my suggestion.

I've just discovered that I must do
  mvn cobertura:cobertura
to get what I wanted.

Sorry for the noise,
Gilles


> Include "cobertura" target in "build.xml"
> -----------------------------------------
>
>                 Key: MATH-319
>                 URL: https://issues.apache.org/jira/browse/MATH-319
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Priority: Minor
>         Attachments: build.xml.diff
>
>
> Can we have the possibility to run "cobertura" on the unit tests?
> This would provide useful hints when chasing bugs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MATH-319) Include "cobertura" target in "build.xml"

Posted by "Gilles (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MATH-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles updated MATH-319:
------------------------

    Attachment: build.xml.diff

In case this could be useful, here is the "diff" of the current "build.xml" where I cloned the existing "test" and "compile.tests" targets to create equivalent ones but with the calls to "cobertura". This is for illustration purpose and surely needs to be adapted to the CM project layout policy. [Namely, I introduced an environment variable (SOFCOMMON), but maven may do this differently.]


> Include "cobertura" target in "build.xml"
> -----------------------------------------
>
>                 Key: MATH-319
>                 URL: https://issues.apache.org/jira/browse/MATH-319
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Priority: Minor
>         Attachments: build.xml.diff
>
>
> Can we have the possibility to run "cobertura" on the unit tests?
> This would provide useful hints when chasing bugs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.