No aspect weaved in multiproject
--------------------------------

                 Key: MOJO-1184
                 URL: http://jira.codehaus.org/browse/MOJO-1184
             Project: Mojo
          Issue Type: Bug
          Components: aspectj
            Reporter: Ulrich Vachon


In fact, we have this multiproject :

project
   +--------module-entity
   +--------module-data
   +--------module-business
   +--------module-weaver
....

We have one aspect in "module-weaver" project which must to match via a 
pointcut with a class in "module-business". My pointcut is : 

{code}
@Pointcut(value = "execution(public * (com.xxx.xxx.bo.* && 
!xxx.xxx.xxx.bo.MyBo).*(..))")
{code}

However, after compilation of this aspect and compilation of  "module-business" 
with it, MyBo is anyway weaved!
I have the impression that when i compiling my aspect, if no source code does 
not match, then it forget the condition of pointcut and weave anyway. I don't 
have this problem with the last revision (1.0-beta-2).

Maybe, this bug is linked with the aspectjrt version and no with the maven 
plugin...

Best regards,
Ulrich Vachon

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to