VersioningFileProvider is a new [page provider], meant to replace the [RCSFileProvider], which has problems especially with Windows.

It is available from JSPWiki 1.7.0 onwards, but is currently in testing phase.


Is the VersioningFileProvider now workable on Windows?

How do I go about using it / testing it?


It should be quite functional.  Just change the provider to "com.ecyrd.jspwiki.VersioningFileProvider" and you should be set.  Migrating from [FileSystemProvider] is easy - you just set the provider.  Moving from [RCSFileProvider] is a bit more complicated, since it involves you checking out the pages manually and storing them in the OLD directory.  Could someone perhaps contribute a short script for this?

BTW, if you can live without your previous version history, just delete the RCS-subdirectory in the JSPWiki page repository, and then change the page provider.  All new versions will then go to the VersioningFileProvider directory.

Though in all honesty, I haven't tested it all under Windows.  There should be nothing Linux-specific in it, though... :-)


Well the neat thing (I suppose) is that I haven't managed to get the [RCSFileProvider] to work yet so nothings actually been checked in to the RCS directory yet.   Given that though, will the VersioningFileProvider actually work either?


It should - it only requires the "diff" command from the RCS package, and that's all.  And this should go away as soon as I can find a suitable Java diff routine.

The problem with [RCSFileProvider] is that it requires you to set up [RCS], which was always designed as an UNIX tool, and none of the Windows ports have ever tried to integrate to Windows in any clean way.  VersioningFileProvider does not have this problem.


I seem to remember a Java port of the CVS client, I wonder if that had a diff client that could be re-used...