In the JSPWIKI.PROPERTIES file, a number of directories are referred to, and the system creates/uses other subdirectories under this structure.
The following structure is recommended for Wiki deployment:
|-Wiki |-|-Files |-|-Log |-|-Temp |-|-Attachments |-|-Configuration |-|-Custom
All these directories should be protected from outside access, and should only be manipulated through the Wiki interface.
This directory is identified by the PROPERTIES file parameter setting jspwiki.fileSystemProvider.pageDir.
Once you have made and changes to a page (and are keeping older versions), the previous version is copied to a subfolder from the Page Directory called OLD, and then a folder for each page. The OLD folder, which has subfolders for each page with a history, will have a file for each version, sequentially number, and a file called page.properties.
This file describes the author of each version, the change comment for that version, and the date/time of the last change. It is not to be modified. There will even be a page.properties file for the very first version of a page, containing the name of the original author. Otherwise this page will be identified as having been created by "UnkonwnAuthor"
Log files are automatically built in this directory, and are also automatically pruned. Other settings within the JSPWIKI.PROPERTIES file control the size of the log file, and how many versions are maintained.
The Temp Directory is identified by the parameter setting jspwiki.workDir .
Of key interest is the subdirectory directory called lucene which contains the search index parameters as generated by the Lucene Search Engine.
information If you wish to re-index the wiki, you can simply delete this directory, and restart the wiki engine.The Attachments Directory identified by the parameter setting jspwiki.basicAttachmentProvider.storageDir,
The attachment directory has subfolders for each page that has attachments made for it. The folder name will be the same as the page, with a suffix -att (for example, a page called ERD-CM.txt with an attachment would have those attachments in a subfolder called ERD-CM-att).
Within each -att subfolder will be a subdirectory that is the filename of the attachment, with a -dir suffix. For example, If the ERD-CM page (which is contained in the ERD-CM.txt) file, has an attachment called CM10.JPG, there will be a subfolder in the ERD-CM-att folder called CM10-JPG-dir.
Inside the directory for each picture, will be a numerically sequenced file, showing the version number of each attachment, and a file called attachment.properties.
This file describes the author of each version, the change comment for that version, and the date/time of the last change. It is not to be modified. There will even be a attachment.properties file for the very first attachment containing the name of the original author. Otherwise this attachment will be identified as having been created by "UnkonwnAuthor"
The parameters in the JSPWIKI.PROPERTIES file that control the placement of these two XML files are jspwiki.xmlGroupDatabaseFile and jspwiki.userdatabase.
Screen captures are meant to be indicative of the concept being presented and may not reflect the current screen design.
If you have any comments or questions please email the Wiki Editor
All content © High Line Corporation