maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stéphane bouchet <Stephane.Bouc...@emn.fr>
Subject Re: Jcoverage exclusion list
Date Tue, 17 Aug 2004 12:52:20 GMT
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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message