Re: [xwiki-users] Rendering of a particular version of a document
On Thu, Mar 21, 2013 at 2:39 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: it worked! Great! Thank indeed! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 19 March 2013 08:23 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document On Tue, Mar 19, 2013 at 1:20 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! Thanks! Please, see below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 18 March 2013 09:40 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document On Sat, Mar 16, 2013 at 4:58 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Thanks, Marius! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 15 March 2013 10:24 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document Fixed in 2.5RC1 by https://github.com/xwiki/xwiki-platform/commit/c08cca8cae375ea306b071fedbae3b1809261126 . See http://jira.xwiki.org/browse/XWIKI-5575 . The viewattachrev action is needed for attachments of the context document because attachments are also versioned and when you view a revision of a document you want to view the version of the attached images from that revision. I get the point! Thank you very much for the explanation. Please, Marius, could it be possible to substitute the old XWikiServletURLFactory.java class with the new one in xwiki-core-2.4.jar and keep running XWiki Enterprise 2.4.30451? You can try taking XWikiServletURLFactory.class from xwiki-core-2.5.jar and put it in WEB-INF/classes where you have deployed XWiki (under the same path as in the jar, i.e. the class package) but it might not work properly because it may contain other changes besides XWIKI-5575 which are not compatible with the xwiki-core-2.4.jar. Understood. Your best option is to patch the xwiki-core.2.4.jar. It's quite easy if you're not afraid of Git and Maven: Well, I'm not afraid of these tools, but I'm not a maven myself! Some years ago I was much closer than now to understand how XWiki development does work :-) But I keep trying! Always with your help. Thanks! Use this to checkout the code. Note that will will take a while, depending on your bandwidth. $ git clone git://github.com/xwiki/xwiki-platform.git $ cd xwiki-platform xwiki-platform$ git checkout xwiki-core-2.4 xwiki-platform$ git cherry-pick c08cca8cae375ea306b071fedbae3b1809261126 xwiki-platform$ cd xwiki-core xwiki-platform/xwiki-core$ mvn clean install xwiki-platform/xwiki-core$ mv target/xwiki-core-2.4.jar target/xwiki-core-2.4-XWIKI-5575.jar Having known CVS and Subversion, GitHub seems as the great evolution that will ease democratic contributions to software development projects, big and small ones. It seems simply great even though I will need some some time to fully understand it! Thanks for your help! Make sure you use the same Java version as the one running your application server. Ummm... I'm afraid my application server is the only one running java version 1.5.0 over here! I'm looking for a suitable box. In the mean time, I'm trying to understand how the team Git/Maven works! Note that I tried to patch xwiki-core 2.4 myself, but I have Java 1.7, and besides the version, it seems the build requires Sun/Oracle JDK (there's a backward compatibility aspect that uses com.sun.* classes). The build should pass on Sun/Oracle JDK 1.5 though. I'm lost at this point. I've built xwiki-core-2.4.jar in a Mac OS X box running... java -version java version 1.6.0_43 Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-10M4203) Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode) And moved it to a different box running Suse Linux and... peat:~ # java -version java version 1.5.0 Java(TM) 2 Runtime Environment, Standard Edition (build pxi32devifx-20100511a (SR11 FP2 )) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223ifx-20100510 (JIT enabled) J9VM - 20100509_57823_lHdSMr JIT - 20091016_1845ifx7_r8 GC - 20091026_AA) JCL - 20100511a peat:~ # And it seems it is working fine. Please, when must I expect problems when compiling with a newer Java release and moving back to an older one? Is there some compatibility table anywhere? I'm glad it worked. Regarding compatibility, I could find for instance http://www.oracle.com/technetwork/java/javase/compatibility-137541.html . In general, it's not safe to build a JAR with a newer JDK and then use it on an older JRE. There can be both source incompatibilities (like using new
Re: [xwiki-users] [GSOC] XWiki is applying for GSoC 2013. Proposals and mentors needed!
Dear XWiki community, having discussed with Ludovic, I now can say that we made the projects more generic so that it applies for all XWikis, for the ePub-exporter, and for all Xclams, for the federation. Can I count on the fact that it is acceptable for XWiki community? thanks in advance Paul New URLs: - http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/ePubExport - http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/XCLAMSFederated On 19 mars 2013, at 15:25, Paul Libbrecht wrote: Hello all, I am looking forward to this year's GSoC. Especially of interest to the XWiki derivatives based on xclams, but certainly also applicable to other xwikis, I have added two project proposals: - XCLAMS ePub Publisher: - XCLAMS Federated Servers: Comments are most welcome. I've noted that ActivityStream 2.0 is one of the proposed project. Could that be based on big NoSQL databases such as CouchDB? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Rendering of a particular version of a document
Thanks for your help and thanks for the information about compatibility. I'll keep learning! Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 21 March 2013 07:56 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document On Thu, Mar 21, 2013 at 2:39 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: it worked! Great! Thank indeed! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 19 March 2013 08:23 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document On Tue, Mar 19, 2013 at 1:20 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! Thanks! Please, see below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 18 March 2013 09:40 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document On Sat, Mar 16, 2013 at 4:58 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Thanks, Marius! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 15 March 2013 10:24 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document Fixed in 2.5RC1 by https://github.com/xwiki/xwiki-platform/commit/c08cca8cae375ea306b071fedbae3b1809261126 . See http://jira.xwiki.org/browse/XWIKI-5575 . The viewattachrev action is needed for attachments of the context document because attachments are also versioned and when you view a revision of a document you want to view the version of the attached images from that revision. I get the point! Thank you very much for the explanation. Please, Marius, could it be possible to substitute the old XWikiServletURLFactory.java class with the new one in xwiki-core-2.4.jar and keep running XWiki Enterprise 2.4.30451? You can try taking XWikiServletURLFactory.class from xwiki-core-2.5.jar and put it in WEB-INF/classes where you have deployed XWiki (under the same path as in the jar, i.e. the class package) but it might not work properly because it may contain other changes besides XWIKI-5575 which are not compatible with the xwiki-core-2.4.jar. Understood. Your best option is to patch the xwiki-core.2.4.jar. It's quite easy if you're not afraid of Git and Maven: Well, I'm not afraid of these tools, but I'm not a maven myself! Some years ago I was much closer than now to understand how XWiki development does work :-) But I keep trying! Always with your help. Thanks! Use this to checkout the code. Note that will will take a while, depending on your bandwidth. $ git clone git://github.com/xwiki/xwiki-platform.git $ cd xwiki-platform xwiki-platform$ git checkout xwiki-core-2.4 xwiki-platform$ git cherry-pick c08cca8cae375ea306b071fedbae3b1809261126 xwiki-platform$ cd xwiki-core xwiki-platform/xwiki-core$ mvn clean install xwiki-platform/xwiki-core$ mv target/xwiki-core-2.4.jar target/xwiki-core-2.4-XWIKI-5575.jar Having known CVS and Subversion, GitHub seems as the great evolution that will ease democratic contributions to software development projects, big and small ones. It seems simply great even though I will need some some time to fully understand it! Thanks for your help! Make sure you use the same Java version as the one running your application server. Ummm... I'm afraid my application server is the only one running java version 1.5.0 over here! I'm looking for a suitable box. In the mean time, I'm trying to understand how the team Git/Maven works! Note that I tried to patch xwiki-core 2.4 myself, but I have Java 1.7, and besides the version, it seems the build requires Sun/Oracle JDK (there's a backward compatibility aspect that uses com.sun.* classes). The build should pass on Sun/Oracle JDK 1.5 though. I'm lost at this point. I've built xwiki-core-2.4.jar in a Mac OS X box running... java -version java version 1.6.0_43 Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-10M4203) Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode) And moved it to a different box running Suse Linux and... peat:~ # java -version java version 1.5.0 Java(TM) 2 Runtime Environment, Standard Edition (build pxi32devifx-20100511a (SR11 FP2 )) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223ifx-20100510 (JIT enabled) J9VM - 20100509_57823_lHdSMr JIT - 20091016_1845ifx7_r8 GC - 20091026_AA) JCL - 20100511a peat:~ # And it seems it is working fine. Please, when must I expect problems when compiling with a newer