On 12/31/2009 08:39 AM, asiri (SVN) wrote: > Author: asiri > Date: 2009-12-31 08:39:16 +0100 (Thu, 31 Dec 2009) > New Revision: 25984 > > Modified: > contrib/sandbox/xwiki-officepreview/pom.xml > > contrib/sandbox/xwiki-officepreview/src/main/java/org/xwiki/officepreview/OfficePreviewVelocityBridge.java > > contrib/sandbox/xwiki-officepreview/src/main/java/org/xwiki/officepreview/internal/OfficePreviewVelocityContextInitializer.java > Log: > [misc] Changing all platform dependencies to 2.1-SNAPSHOT version. > > * This will make it possible to use xwiki-officepreview with XE 2.1.x > versions. > > * Downside is that xwiki-officepreview will not be able to preview Office > 2007 documents (support for which was added in xwiki-officeimporter 2.2M1).
Why make it compatible with 2.1.x, when it comes with the price of reduced functionality? From what I see in the commit, you switched to older APIs that are deprecated in 2.2, which means that a new module will be released with deprecated code already, and at some later time it will be harder to migrate, once more code is written. -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

