Properties for Plugins#

The properties file for JSPWiki plugins, such as ColorCodePlugin_page should be located where the class loader can find it. The usual place is in the classess directory of the webapp, for my JSPWiki installation, this would be:

C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\JSPWiki\WEB-INF\classes

So a resource named sql will refer to the file:

C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\JSPWiki\WEB-INF\classes\sql.properties
if it exists. The class loader will provide the .properties extension itself whilst looking for the resource. Also, a class sql.class would resolve this resource request as well, provided it delivers the required property values.
<< Back

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 25-Oct-2006 11:53 by Sothach