Can't add different class with same name

74 views
Skip to first unread message

François Blavoet

unread,
Jul 16, 2020, 4:00:21 AM7/16/20
to JaCoCo and EclEmma Users
Hi,

I am in the process of updating my gradle based build and I am encountering a peculiar jacoco error : Can't add different class with same name.  

The thing is, as far as I know, I am not including different classes with the same name.

However, the build change I am doing adds a new flavor dimension, so I suspect that this is causing a false positive since we merge all the unit tests reports.  

Is there a way to inspect where these 2 classes are coming from ? that might make it easier for me to handle this case.

Thanks in advance,

François

François Blavoet

unread,
Jul 22, 2020, 10:13:51 PM7/22/20
to JaCoCo and EclEmma Users
Update : found a way to do not trigger this. 
Still, would be great to have a way to directly debug occurences

Marc Hoffmann

unread,
Jul 23, 2020, 2:58:42 AM7/23/20
to jac...@googlegroups.com
Hi François,

indeed, this would help. We actually have a pending enhancement request for this: 


I was working on this long time ago…

Regards,
-marc

-- 
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/340a2120-7cc6-4b95-97aa-9cdb56191241n%40googlegroups.com.

François Blavoet

unread,
Sep 7, 2020, 1:55:49 AM9/7/20
to JaCoCo and EclEmma Users
Nice, this would be extremely helpful ! 
Reply all
Reply to author
Forward
0 new messages