Emmanuel Venisse a �crit :
<ant:fileset dir="${maven.build.dest}"> <ant:include name="**/*.class" /> <ant:exclude name="${maven.jcoverage.instrumentation.excludes}" /> </ant:fileset>
You can use this : <ant:fileset dir="${maven.build.dest}" includes="**/*.class" excludes="${maven.jcoverage.instrumentation.excludes}"/>
and define maven.jcoverage.instrumentation.excludes like this: maven.jcoverage.instrumentation.excludes=**/*Tests.class,**/*Aspect.class
Can you test this little patch and send us the result. If it's ok, I'll commit it.
Emmanuel
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Thanks for the quick reply,
The patch submitted works great, and this is exactly what i needed. :)
In order to work correctly, i had to delete myself the "jcoverage.ser" file, because it contains some reference to the files i wanted to exclude.
Could it be possible to delete this file when the "clean" goal is called ?
Stephane.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
