Unbelievable what I had to go through to get some of the backup system to
work on Windows!
The classpath in the env.sh file is so long that when you convert it to a
Windows .bat file, Windows doesn't even accept it! I had to copy all my
libraries into C:\lib just to get the classpath line short enough.
I executed the export script (groovy export).
The utility created a db folder with files in it, so it seems to work (I
guess).
Except for the following error in my xwiki.log file:
17:26:53,428 WARN main Configurator:configure:126 - No configuration
found. Configuring ehcache from ehcache-failsafe.xml found in the
classpath: jar:file:/C:/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
A few questions now:
1. Does anyone know why I am getting this ehcache-failsafe warning?
2. Does backup's export/import handle the binary attachments?
3. If I backup from one wiki and import in another, am I overwriting the
wiki or appending to it?
4. Is there a plan to incorporate the backup feature into the XWiki user
interface (because all of this special configuration on Windows is quite
troublesome)?
==================================
Cody Burleson
So, I am having trouble figuring out how to use the new backup feature.
Can someone throw me a bone?
Here is what I have done:
1. Upack the latest Groovy binaries to C:\groovy-1.0-jsr-03 (download from
Groovy site)
2. Set GROOVY_HOME env variable to GROOVY_HOME that directory
(C:\groovy-1.0-jsr-03)
3. add C:\groovy-1.0-jsr-03\bin to your PATH environment variable.
4. Put C:\Tomcat 5.5\webapps\xwiki\WEB-INF\lib\xwiki.jar; on CLASSPATH
5. Test on cmd: Type groovyConsole to make sure groovy works
5. Copy libs from xwiki "backup" into lib folder of xwiki/web-inf
6. copy "hibernate.cfg.xml" from backup to xwiki/web-inf/classes
7. copy import.groovy and export.groovy to webapps/xwiki/
Then, when I type the following on the CMD line, I get an error (see
below)
C:\Documents and Settings\Administrator>cd C:\Tomcat 5.5\webapps\xwiki
C:\Tomcat 5.5\webapps\xwiki>groovy export.groovy
General error during class generation: No such class: XWikiContext in
constructor call for class: xwiki.export.export. At [7:11] export.groovy
1 Error
The XWiki war I am using is from a build I did last night off of all the
latest code from the Trunk branch. But why is my XWikiContext not
recognized? I have even put xwiki.jar on the classpath.
??????
==================================
Cody Burleson
Hi
I'm looking for a way to define some kind of associations between
classes. Let me explain by an example what I mean exactly:
I want to collect structured data for countries and its regions. To
achieve this I define to classes, CountryClass and a RegionClass (incl.
the sheets and templates). Now the user should be able to create new
country objects _and_ he should have the possibility (in the form
itself) to define which regions belong to a country.
I tried to achieve this by adding a database list property to the
country class with an appropriate hibernate query which selects all
region documents. This let the user select one or more regions for a
country. This is fine so far but
- Is there any more general or a better way to achieve this associations
(e.g. without hibernate queries)?
- How can I adapt my ClassSheet so that the selected region associations
are hyperlinked to the appropriate region objects?
Thanks
Yves
All,
I have a project to add new Knowledge Management functionalities in xwiki, the first one I have selected is the collaborative categorization also known as folksonomy.
The point is to allow the wiki users to categorize the wiki topic with keywords as what you can do in http://del.icio.us/ .
Does anybody have ideas on this subject?
Thierry Magnard
Hi
I'm new to XWiki and would like to know,
how can I integrate another rendering engine into XWiki (especially
Wikipedia rendering based on Radeox)?
Is there an online guide available?
Can someone point me to the main interesting classes?
Is there a "synchronizing API" with another XWiki instance available?
Does someone has experience in integrating XWiki into a roller blog system?
--
Axel Kramer
http://www.plog4u.org - Wikipedia Eclipse Plugin
http://www.bliki.info
I am happy to announce the release of the project P2PXWiki developed as
part of Google SoC. P2PXWiki contains a central registry (for
registering a new XWiki) which can be updated by peers using JXTA
network. It also includes support for replication, allowing a wiki to be
replicated among peers.
Please checkout the project page
http://www.xwiki.org/xwiki/bin/view/Dev/P2PXWiki . Comments are welcome.
-Bikash