For everyone's information I have added this strategy to our development practices guide at: http://dev.xwiki.org/xwiki/bin/view/Community/DevelopmentPractices#HBackward... Thanks -Vincent On Feb 4, 2008, at 2:40 PM, Vincent Massol wrote:
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