Multiple Excludes not working

32 views
Skip to first unread message

Nachiket Ashtaputre

unread,
Apr 2, 2015, 10:39:59 AM4/2/15
to jac...@googlegroups.com
Hi,

I am facing the following fileset  :

<fileset dir="C:/myPlugins" excludes ="com.abc.*,com.xyz*" />

and I am still getting an error for duplicate classes under :
com.xyz.serviceBase_m.n

I am confused if this is not working correctly or there is an alternate way.
As I can see the duplicate classes under com.abc.Application_a.b are not shown which is a successful exclude.
But this is not happening with com.xyz.

Any pointers?

Thanks,
Nachiket

Marc R. Hoffmann

unread,
Apr 2, 2015, 3:27:05 PM4/2/15
to jac...@googlegroups.com
Hi Nachiket,

if you specify a Ant fileset you should use a path based excluded syntax, probably something like

<fileset dir="C:/myPlugins" excludes ="com/abc/**/*.class,com/xyz/**/*.class" />

See Ant manual: http://ant.apache.org/manual/Types/fileset.html

Regards,
-marc
--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/0dacbd71-2e70-4ca9-9fd1-b23253163048%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages