Re: JSPWiki (import)
Janne Jalkanen <[email protected]> Wed, 5 Sep 2007 22:46:38 +0100
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[email protected]> |
> yes, so my question is how exactly would I do that? Do I copy the > files somewhere? and if so where? or is there some import tool? > When a new wiki file is created, where is it stored? I saw nothing > under the webapps/ directory (tomcat). Yup. Just untar the files in an empty directory, then set the following in your WEB-INF/jspwiki.properties jspwiki.fileSystemProvider.pageDir=<your no longer so empty directory> jspwiki.basicAttachmentProvider.storageDir=<your no longer so empty directory> If the tgz file contains a directory called RCS, then you should also set jspwiki.pageProvider=RCSFileProvider or if it contains a directory called OLD, then set jspwiki.pageProvider=VersioningFileProvider (If it contains both, then you gotta try and figure out which one is newer.) There are also other settings in your jspwiki.properties, which you will need to set (assuming nobody backed up the property file - it would be really good if you would find that backup). JSPWiki typically stores all the pages in a single directory so that it's really easy to back up, and you don't need any special import tools. It's not recommended to store the page directory under webapps, because it makes upgrading a mess. Just set up a separate area for page storage (and make sure it's backed up). JSPWiki page storage is also compatible with itself from version 2.0 to 2.5, so it does not matter much which version you install. However, we would recommend the latest stable (2.4.103). If you absolutely need localization, then the latest beta should also work for you, but be prepared to upgrade once we get the stable out. /Janne