It is a simple non-RCS based versioning storage that provides basic directory based repository for storing Wiki pages.
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:
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!