Hi,

this will not work as the filter applies to the JAR files itself and will obiously filter them out.

But there are several options to solve this:

1) Unpack the JARs first
2) Use ANT's zipfileset to provide a filtered list of class files
3) Future versions of JaCoCo might come with a class name filter (https://github.com/jacoco/jacoco/issues/17)

Best regards,
-marc

On 18.03.14 03:52, donny choo wrote:
HI,

I've got jar files from our project. I need to use these as the class files for the coverage report.

I want to be able to do this:

                <classfiles>
                    <fileset dir="${my.jars}">
                        <include name="**/com/my/jars/**/*.class" />
                    </fileset>
                </classfiles>

but that does not include any files. If I leave the include off, I get all the files.

Is there a way to include specific class files inside jars like this?

Thanks!
--
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]>.
For more options, visit https://groups.google.com/d/optout.


--
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to