Description#

VersioningFileProvider is one of the three core PageProviders (along with FileSystemProvider and RCSFileProvider)

It is a simple non-RCS based versioning storage that provides basic directory based repository for storing Wiki pages.

Configuration#

To setup VersioningFileProvider, you must configure a few options in your jspwiki.properties (in your webapp/WEB-INF directory):

  • jspwiki.pageProvider =VersioningFileProvider (make sure there are no trailing spaces)
  • jspwiki.usePageCache = true
  • jspwiki.fileSystemProvider.pageDir =<path to where you want to store your wiki pages>

How the provider stores its files#

VersioningFileProvider sets up the files and directories in this structure:

/<path-to-files>

  • Main.txt
  • Foobar.txt
  • OLD/
    • Main/
      • 1.txt
      • 2.txt
      • page.properties
    • Foobar/
      • page.properties

In this example, the wiki page 'Main' has three versions, while 'Foobar' has just one.

The properties file contains the necessary metainformation (such as author) information of the page. DO NOT MESS WITH IT!

Add new attachment

In order to upload a new attachment to this page, please use the following box to find the file, then click on “Upload”.
« This page (revision-5) was last changed on 17-Dec-2007 21:41 by JanneJalkanen