[
http://jira.jboss.com/jira/browse/JBAOP-516?page=comments#action_12395944 ]
Kabir Khan commented on JBAOP-516:
----------------------------------
It works on the prefix of the classname, so if you have these Excludes:
org.,com.
And these includes:
org.acme.myproject
It will weave org.acme.myproject.TestClass, org.acme.myproject.subpackage.SomeClass, but
ignore org.jboss.ShouldNotWeave
Support exclude=* in order to just include some package in current
project
--------------------------------------------------------------------------
Key: JBAOP-516
URL:
http://jira.jboss.com/jira/browse/JBAOP-516
Project: JBoss AOP
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.CR3
Reporter: Carlos Pita
It's a common use case to exclude everything from being adviced except for the
classes in my current project. I can't see a simple way to do this with a combination
of exclude/include, because exclude must explicitly list packages to be excluded, which
are the majority. I think that if exclude is not given but include is, or if exclude is
given an * value, only packages and classes listed under include should be taken into
account.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira