Hi Huafeng,

no, this is not supported.

Why can’t you provide all .exec files for the overall report? Due to unique 
class ids used by JaCoCo only classes in the respective group will pick-up 
their data. So there shouldn’t be a difference.

Regards,
-marc



> On 15. Nov 2019, at 12:24, [email protected] wrote:
> 
> Hi guys,
> can I put the 'executiondata' elememt inside a 'group', as shown below? I 
> have different .exec files for different groups.
> Ant complains 'group doesn't support the nested "executiondata" element.' But 
> is there a approach to use different .exec files for different groups? I do 
> need this badly.
> 
>     <target name="report">
>         <jacoco:report>
>             <structure name="JaCoCo-Report">
>                 <group name="XXX-api">
>                     <executiondata>
>                         <file file="${jacocoExecPath}/XXX-api.exec"/>
>                     </executiondata>
>                     <group name="XXX-component-1">
>                         <sourcefiles encoding="UTF-8">
>                             <fileset 
> dir="${classFilePath}/XXX/WEB-INF/classes"/>
>                         </sourcefiles>
>                         <classfiles>
>                             <fileset 
> dir="${classFilePath}/XXX/WEB-INF/classes"/>
>                         </classfiles>
>                     </group>
> ...
> 
> Thanks!
> --huafeng
> 
> -- 
> 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 [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/c13f4c95-1126-4b0e-84a1-6928ceb94349%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/c13f4c95-1126-4b0e-84a1-6928ceb94349%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/A8CE7A99-501A-4E2C-A027-C062F0465A9C%40mountainminds.com.

Reply via email to