[aspectwerkz-dev] [jira] Deleted: (AW-33) Some pointcut names cause errors

"[email protected] (JIRA)" <jira-yCVjj/[email protected]> Fri, 3 Aug 2007 07:10:16 +1000 (EST)
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
     [ http://jira.codehaus.org/browse/AW-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

[email protected] deleted AW-33:
--------------------------------


> Some pointcut names cause errors
> --------------------------------
>
>                 Key: AW-33
>                 URL: http://jira.codehaus.org/browse/AW-33
>             Project: AspectWerkz
>          Issue Type: Bug
>         Environment: Win2K
>            Reporter: Chad Woolley
>            Priority: Minor
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> If you try to give a pointcut the name of "collabor", you get a DefinitionException.  "collabo" works fine.
> Here is the XML (using logging example as sample, you have to disable the javadoc aspect tags to use the XML):
>     <advice-def name="log" 
>     		advice="test.LoggingNewAdvice" 
>     		deployment-model="perInstance"/>
> 	<advices-def name="logs">
>         <advice-ref name="log"/>
>     </advices-def>
>     <abstract-aspect name="AbstractLoggingAspect">
>         <advice pointcut="collabor">
>             <advices-ref name="logs"/>
>         </advice>
>     </abstract-aspect>
>     <aspect name="Logging" extends="AbstractLoggingAspect">
>         <pointcut-def name="collabor" type="method" pattern="* *.toLog*(..)"/>
>     </aspect>
> Here is the exception:
>     [exec] 1) testDebug(test.SampleTest)org.codehaus.aspectwerkz.exception.DefinitionException: method pointcuts in aspe
> ct <Logging> are not properly defined
>     [exec]      at org.codehaus.aspectwerkz.definition.DefinitionManager.registerMethodPointcuts(DefinitionManager.java:
> 454)
>     [exec]      at org.codehaus.aspectwerkz.definition.DefinitionManager.registerPointcuts(DefinitionManager.java:383)

-- 
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