Hi All,

I am using below ant script with jacoco ant jar to generate jacoco report 
files

 

<jacoco:report>

                                    <executiondata>

                               <file file="merged.exec"/>

                                    </executiondata>

                                    <structure name="Galore Project">

                                                <classfiles>

                                                            <fileset 
dir="classes"/>

                                                </classfiles>

                                                <sourcefiles 
encoding="UTF-8">

                                                            <fileset 
dir="src"/>

                                                </sourcefiles>

                                    </structure>

                                                                                
                


                                    <xml destfile="jacoco/report.xml"/>

</jacoco:report>

 

 

i want to exclude some classes that are no longer in use to do that i added 
below snippet

 

jacoco:report>

                                    <executiondata>

                               <file file="merged.exec"/>

                                    </executiondata>

                                    <structure name="Test Project">

                                                <classfiles>

                                                            <fileset 
dir="classes">

                                               <exclude name="**/A*.class"/>

                                        </fileset>

                                                </classfiles>

                                                <sourcefiles 
encoding="UTF-8">

                                                            <fileset 
dir="src"/>

                                                </sourcefiles>

                                    </structure>

                                                                                
                


                                    <xml destfile="jacoco/report.xml"/>

                                                                                
                


                        </jacoco:report>

but for both out come is same no of classes are equal when i ran the both 
scripts.

 

Please suggest resolution for the same. 

 

Thanks and regards

Saurabh

-- 
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/50711114-1e14-42e8-8698-6468ae8778bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to