On Wed, Jan 13, 2010 at 18:14, Goulven <[email protected]> wrote: > > Hi guys, > > I am working for a few days on XWiki... Congratulations, it's a nice tool ! > > I however got a surprise this afternoon ... I have to modify the class > XWikiDocument, in the package com.xpn.xwiki.doc of the xwiki-core-2.1.1.jar > .. It was not working as expected until i décompile the corresponding class > in the jar and compare it with the source of the corresponding version ( > http://svn.xwiki.org/svnroot/xwiki/platform/core/tags/xwiki-core-2.1.1/xwiki-core/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java > http://svn.xwiki.org/svnroot/xwiki/platform/core/tags/xwiki-core-2.1.1/xwiki-core/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java) > > The class and the source does not seem to match ! Would you have any > explanation ? Do you know in which tag/branch i could find the corresponding > source ?
I think the difference you have is just caused by the compatibility methods added at build time. See http://svn.xwiki.org/svnroot/xwiki/platform/core/tags/xwiki-core-2.1.1/xwiki-core/src/main/aspect/compatibility/com/xpn/xwiki/doc/XWikiDocumentCompatibilityAspect.aj > > Thanks, > > Goulven > > > -- > View this message in context: > http://n2.nabble.com/Mismatch-beetween-classes-and-source-for-2-1-1-version-tp4355632p4355632.html > Sent from the XWiki- Dev mailing list archive at Nabble.com. > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

