[ 
https://issues.apache.org/jira/browse/NETBEANS-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846066#comment-16846066
 ] 

Mark Herkrath commented on NETBEANS-1997:
-----------------------------------------

Correction: I got NetBeans 11 and JaCoCo 0.8.2 to work now. However as stated 
before, after "Run All Tests" was being clicked, the Report windows has to be 
closed and re-opened after Maven is done.

This was working before. I have set the logger of 
org.netbeans.modules.maven.coverage.MavenCoverageProvider to 100. The trace to 
showing that the wrong file is being watched via FileChangeAdapter initially.

{\{FINE [org.netbeans.modules.maven.coverage.MavenCoverageProvider]: missing 
C:\Program Files\NetBeans 11.0\bin\jacoco.xml}}

If I get some time, I might take a closer look.

> JaCoCo 0.8.2 breaks code coverage integration
> ---------------------------------------------
>
>                 Key: NETBEANS-1997
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1997
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Philip Durbin
>            Assignee: John McDonnell
>            Priority: Minor
>
> I asked, "Does JaCoCo 0.8.2 break NetBeans code coverage?" on the users 
> mailing list: 
> [https://lists.apache.org/thread.html/509bfddb9273726a6e8dff1ca419790b40858d6a648b4413142e2abe@%3Cusers.netbeans.apache.org%3E]
> Geertjan Wielenga said to go ahead and open an issue so I believe he agrees 
> that it does.
> The main evidence seems to be in 
> [https://github.com/jacoco/jacoco/issues/772] where a JaCoCo developer, 
> Evgeny Mandrikov, said the following.
> "AFAIK NetBeans integration reads XML Report, which was intentionally changed 
> in version 0.8.2 in a perfectly valid way by addition of new attribute - see 
> https://github.com/jacoco/jacoco/pull/702. NetBeans integration must be fixed 
> accordingly and ideally be less strict to cope with such updates in future. 
> This problem should reported to developers of NetBeans integration, since it 
> is not developed by us - as you can see on page 
> [https://www.jacoco.org/jacoco/trunk/doc/integrations.html] "
> My workaround was to downgrade to JaCoCo 0.8.1, as I explained in 
> [https://github.com/IQSS/dataverse/issues/5483] 
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to