[xwiki-devs] [VOTE] Use AspectJ aspects for implementing backward compatibility in XWiki

Vincent Massol vincent at massol.net
Mon Feb 4 14:40:55 CET 2008


Done: http://jira.xwiki.org/jira/browse/XWIKI-2059

The mechanism is now in place.
See the aspect here:
http://tinyurl.com/2bgrxj

Thanks
-Vincent

On Feb 4, 2008, at 9:44 AM, Vincent Massol wrote:

> Hi,
>
> I'd like us to agree on using the strategy described here:
> http://blogs.sonatype.com/john/2007/11/09/1194630418546.html
>
> This has several advantages:
>
> 1) Keeps our code clean
> 2) Put all backward compatibility code in a single place which makes
> it easy too to remove when the time has come
>
> Here's my +1
>
> If we agree I'll do a try of using this approach for moving out the
> deprecated methods in the XWiki class into an aspect. It should be a
> piece of cake since we already have the aspectj plugin in place for
> the core build.
>
> Thanks
> -Vincent


More information about the devs mailing list