Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
txt
README.txt 66.9 kB 4 04-Feb-2006 07:18 148.221.80.109
java
VersioningFileProvider.java 15.2 kB 1 21-Feb-2005 21:48 MikeOliverAZ

This page (revision-88) was last changed on 10-Oct-2011 16:01 by Janne Jalkanen  

This page was created on 12-Apr-2002 18:10 by JanneJalkanen

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
VersioningFileProvider is a new [page provider], meant to replace the [RCSFileProvider], which has problems especially with Windows.
VersioningFileProvider is a new [PageProvider], meant to replace the [RCSFileProvider], which has problems especially with Windows.
At line 5 changed 2 lines
[RefactorMe], please.
see also [FileProviderComparing]
At line 8 removed one line
Is JSPWiki flexible enough to allow someone to write their own provider? For example we use perforce or p4 for short (http://www.perforce.com).
At line 10 removed 9 lines
Thanks
--[MarkGriffith]
Yes, it most certainly should be. See [WritingPageProviders].
--JanneJalkanen
----
At line 73 removed 14 lines
Is VersioningFileProvider better than RCSFileProvider? Which should I use? I am on a Linux system and RCS is working fine for me, but I just started today with JSPWiki, so it really does not matter about a change...
Will they both be supported in the future?
-- [JeremyC]
Yes. Both will be supported in the future. My personal preference is for the RCSFileProvider, but we wrote VersioningFileProvider so that people would not need to rely on external programs. Especially for people running on Windows VersioningFileProvider is often the less problematic one.
The real difference between these two is in disk space consumption: RCSFileProvider uses far less disk space. This may be an issue when doing backups and such. --[JanneJalkanen]
In addition, VersioningFileProvider is far faster than RCSFileProvider, which relies on external programs to function. This can be an issue, especially if you use a lot of WebLogs.
--[Janne Jalkanen]
----
At line 96 removed 20 lines
!How much space does VersioningFileProvider need with respect to RCSFileProvider?
Q: What is a decent way to think about the ratio? -- MatthewSimpson
A: These pages tend to be relatively small, so disk usage isn't a huge issue -- in my opinion -- especially given the size of modern drives. It also depends upon how many times a page is revisioned. For example, the main page on [JSPWiki|http://www.jspwiki.org/], as of the time I am writing this, has been versioned 175 times. Let's say it fits into a 3KB file (it's not that big), which gives us 175 * 3KB = 525KB for a highly active front page (not counting disk block sizes, etc). This still isn't too bad, especially given the fact that the VersioningFileProvider is much faster than the RCSFileProvider. As for attachments, RCS is not efficient at versioning binary files -- it makes a complete copy of it just like VersioningFileProvider. I've also gone in and manually edited some of the pages on the intranet server I have running where people made some simple beginner mistakes and I didn't want to create a new version of the page and it is much easier to do that if you have separate copies of every page (this shouldn't be encouraged, by the way). If you find yourself running low on space, you could always delete some pr0n. [Pic/smile.png]
--MichaelGentry
The RCS store of Main is 45802 bytes at the writing of this. So we would guess that the VersioningFileProvider takes about eleven times as much space as the RCSFileProvider. Take into account blocks (assume 32k blocks for FAT, for example, and you suddenly gain more:
* VersioningFileProvider: 32 k * 175 = 5600 kb
* RCSFileProvider: 45802/32767 = 2 blocks = 64 kb.
Thus the ratio is about 87.5/1 with large block sizes...
FYI: The entire JSPWiki page repository takes at the moment 12 MBytes using RCSFileProvider, and that's with all the attachments included. But we use RCSFileProvider.
-- JanneJalkanen
----
At line 127 removed 14 lines
!Has anyone written a CVS page provider?
Funny how you need CVS to get the latest developer JSPWiki yet it supports RCS natively.\\
We're already using CVS for everything else, it would be great if we could (relatively) easily tie JSPWiki to it, unless this is a dumb question and CVS and RCS are close enough that this will work by default. In that case, why doesn't anyone mention it anywhere?
-- JacobShare
See [CVSFileProvider Issues] for more information. It is conceivable that you could use [RCSFileProvider] with a bunch of custom settings, as most of CVS is based on RCS.
-- JanneJalkanen
[AntCvsFileProvider]...
Version Date Modified Size Author Changes ... Change note
88 10-Oct-2011 16:01 7.813 kB Janne Jalkanen to previous
87 10-Oct-2011 15:11 7.585 kB 193.30.140.141 to previous | to last added Q: Can I switch back and forth with FileProviders?
86 10-Oct-2010 16:39 7.043 kB Dirk Frederickx to previous | to last remove spam
85 09-Oct-2010 00:23 7.171 kB Razan Abbass to previous | to last
84 26-Sep-2007 23:44 7.043 kB JanneJalkanen to previous | to last
83 26-Sep-2007 02:51 7.057 kB 161.200.255.162 to previous | to last
82 16-Jan-2007 04:25 7.043 kB 24.110.6.81 to previous | to last
81 09-Nov-2006 15:23 6.89 kB SergeBakhteiarov to previous | to last
« This page (revision-88) was last changed on 10-Oct-2011 16:01 by Janne Jalkanen  
G’day (anonymous guest) My Prefs
JSPWiki v2.8.4-svn-9