This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

CVS View Plugin#

By RoyPhillips

Overview#

CVSViewPlugin loads a file from a named CVS repository and displays in in the wiki page

Example:#

Plugin insertion failed: Could not find plugin CVSViewPluginPlugin insertion failed: Could not find plugin CVSViewPlugin } This example will attempt to retrieve the current version of the required file from the CVS repository specified

TODO:

  • Other CVS repositories than pserver
  • Safer authentication (use Wiki ID/password? Use certs?)
  • Wrap text returned in specified plugin (e.g., Java2HtmlPlugin)
  • Name method to extarct from source or line number range

Note: If the colorcode='true' parameter setting is used, the Color Code should be installed.

Installing#

  • Download the distribution jar(info) into the local JSPWiki/WEB-INF/lib directory.
  • Either invoke with full package name, or add to JSPWiki/WEB-INF/jspwiki.properties plugin search path:
jspwiki.plugin.searchPath = ...,lu.intrasoft.jspwiki.plugin, ...

Building#

  • Unpack the source jar(info) into some convenient directory
  • Edit the build.properties file to set the local webserver path
    • E.g., webserver.dir=C:/Program Files/Apache Software Foundation/Tomcat 5.5
  • Run the ant task deploy

Implementation#

CVSViewPlugin.javaA WikiPlugin wrapper around CVSFile
CVSFile.javaNon-plugin specific code to check-out a single named file from CVS
CVSPassword.javaCVS's trivial password algorithm

Back

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
jar
cvsfile-plugin.jar 0.0 kB 2 04-Oct-2006 13:15 Sothach
bmp
cvsview-eg1.bmp 494.8 kB 2 04-Oct-2006 13:14 Sothach
jar
cvsview-plugin-src.jar 8.3 kB 4 04-Oct-2006 14:30 Sothach
jar
cvsview-plugin.jar 10.6 kB 4 04-Oct-2006 14:30 Sothach
« This particular version was published on 03-Oct-2006 10:58 by Sothach.