Re: [xwiki-users] How to upgrade xwiki 1.1.2 stable to 1.1.2 milestone2?
That's a good question, as I had the same confusion when I first upgraded. Basically, the installer automates 4 major steps: Install the WAR, install a servlet engine (Jetty), install the database (HSQL), and install the XAR. So upgrading overtop of the installer is really not much different from upgrading overtop of a manual install. It would be a good idea to familiarize yourself with the manual install procedure to better understand what's going on; it's really not terribly confusing or complicated. (That being said, the last time I attempted to upgrade, I must have messed something up, as my history stopped working, but I'm pretty sure that happened for other reasons.) I thought about editing the wiki page to clear this up, but I couldn't figure out a decent way to word it. If someone else would like to take a stab at it, I'd love them for it. Paul D. Grodt TECORE Wireless Systems -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yin Kee Yee Sent: Tuesday, November 27, 2007 10:23 PM To: users@xwiki.org Subject: [xwiki-users] How to upgrade xwiki 1.1.2 stable to 1.1.2 milestone2? Hi, I search and read through the upgrade info from this link below. http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradingan XW ikiInstallation It said that the general strategy for upgrade is to download the WAR Distribution and to replace your current installed WAR. Since I did an initial xwiki install using the standalone xwiki enterprise window 1.1.2 installer, how can I upgrade to 1.1.2 milestone 2 without losing any current data? To be more specific, which file should I download and use? Thanks, YinKee ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Statistics
That's because the author of that page is not an admin. More detailed, the page must be saved using a global account (like xwiki:XWiki.Admin) which has programming rights enabled. Sergiu Vitantonio Messa wrote: Hello everyone, I've activated the statistics on my virtual xwikis, but when I access the page XWiki/Stats I see the code, but not statistics, as this: % period = request.get(period) Calendar cal = Calendar.getInstance(); cal.setTime(new Date()); if (period==null) { period = cal.get(Calendar.YEAR) * 100 + (cal.get(Calendar.MONTH)+1) } jour = cal.get(Calendar.YEAR) * 1 + (cal.get(Calendar.MONTH)+1) * 100 + (cal.get(Calendar.DAY_OF_MONTH)+1) type = request.get(type) if (type==null) type = view % In the xwiki.cfg, this is the section related to statistics: xwiki.stats=1 xwiki.stats.default=1 xwiki.stats.class=com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl Any help? Thanks! Vito ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Code highlighting
Vincent Massol wrote: Hi Paul, What you need is to implement a Radeox SourceCodeFormatter and make it available so that it can be loaded by Radeox. Here's the code in Radeox CodeMacro.java: Iterator formatterIt = Service.providers(SourceCodeFormatter.class); (see http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html#Service%20Provider) . However this means that radeox will look for a META-INF/services/ org.radeox.macro.code.SourceCodeFormatter file in Radeox's JAR. That files currently contains: org.radeox.macro.code.SqlCodeFilter org.radeox.macro.code.JavaCodeFilter org.radeox.macro.code.XmlCodeFilter org.radeox.macro.code.NullCodeFilter One way I guess would be to repackage a radeox JAR with your java class inside + a modified META-INF/services/ org.radeox.macro.code.SourceCodeFormatter file. The other possibility is to modify XWiki so that it allows specifying new source code formatters in xwiki.cfg for example. I think that putting our own org.radeox.macro.code.SourceCodeFormatter file inside xwiki-platform-core/xwiki-core/src/main/resources/META-INF would be enough, but I'm not sure. Thanks -Vincent On Nov 27, 2007, at 6:19 PM, Paul Grodt wrote: I'm interested in adding support for rudimentary highlighting of C++ within the code macro. Should this be a separate issue from http://jira.xwiki.org/jira/browse/XWIKI-864 ({code} macro should support highlighting for radeox and velocity), or should this issue be extended to include it? Should I investigate adding this directly to the Radeox project instead? I really don't know much about Radeox yet, but from the documentation for the code macro, it sounds as though all the existing highlighting code comes out-of-box from Radeox Paul D. Grodt ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Albatros menubar questions
Why does the top menubar go away when in edit mode? Is this by design? Shouldn't there be an option within the Show menu to return to the original article? I realize you can just click on the last leaf in the parentage tree (or whatever it's called, sorry), but that seems less intuitive. When I click into the 'Show-Wiki code' or 'Show-History' or when linking to it directly, it's a bit awkward to return to the formatted article. Thanks, Paul D. Grodt TECORE Wireless Systems ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Code highlighting
Vincent Massol wrote: Hi Paul, What you need is to implement a Radeox SourceCodeFormatter and make it available so that it can be loaded by Radeox. Here's the code in Radeox CodeMacro.java: Iterator formatterIt = Service.providers(SourceCodeFormatter.class); (see http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html#Service%20Provide r) . However this means that radeox will look for a META-INF/services/ org.radeox.macro.code.SourceCodeFormatter file in Radeox's JAR. That files currently contains: org.radeox.macro.code.SqlCodeFilter org.radeox.macro.code.JavaCodeFilter org.radeox.macro.code.XmlCodeFilter org.radeox.macro.code.NullCodeFilter One way I guess would be to repackage a radeox JAR with your java class inside + a modified META-INF/services/ org.radeox.macro.code.SourceCodeFormatter file. The other possibility is to modify XWiki so that it allows specifying new source code formatters in xwiki.cfg for example. I think that putting our own org.radeox.macro.code.SourceCodeFormatter file inside xwiki-platform-core/xwiki-core/src/main/resources/META-INF would be enough, but I'm not sure. Thanks -Vincent On Nov 27, 2007, at 6:19 PM, Paul Grodt wrote: I'm interested in adding support for rudimentary highlighting of C++ within the code macro. Should this be a separate issue from http://jira.xwiki.org/jira/browse/XWIKI-864 ({code} macro should support highlighting for radeox and velocity), or should this issue be extended to include it? Should I investigate adding this directly to the Radeox project instead? I really don't know much about Radeox yet, but from the documentation for the code macro, it sounds as though all the existing highlighting code comes out-of-box from Radeox Paul D. Grodt I'm looking at the Radeox code now. This looks like it should be a breeze, thanks both of you! -Paul ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users