Slide Properties File
This file is located in the slide-kernel-2.1b2.jar (for 2.1b2 - other versions may vary) under org/apache/slide/. Typically the only reason for editing this file is to disable or enable Slide features such as Binding and configure where Slide looks for domain.xml.
Note
This file must be referenced somewhere in your CLASSPATH
To override Slide's default settings - place your slide.properties file under your servlet engine's 'WEB-INF/classes/org/apache/slide' folder.
However, the more recent common location for slide.properties is WEB-INF/classes/slide.properties to coincide with other property files located under WEB-INF/classes.
Default Example
# Domain XML definition file # Default : Will look for domain.xml in current directory #org.apache.slide.domain=Domain.xml # Automatically perform security checks # Default : true org.apache.slide.security=true # Automatically perform locking checks # Default : true org.apache.slide.lock=true # Use version control (DeltaV) # Default: true org.apache.slide.versioncontrol=true # DASL # Default: true org.apache.slide.search=true # URL Encoding # Default: platform default encoding org.apache.slide.urlEncoding=UTF-8 # Debug # Default: false org.apache.slide.debug=false org.apache.slide.binding=true
Domain
This configures where Slide will access the domain.xml file. The following example tells Slide to access the domain.xml file in the /home/blee/Applications/Slide/ directory. If org.apache.slide.domain is not configured (which is default) then Slide will assume it is in the current Slide application directory.
org.apache.slide.domain=/home/blee/Applications/Slide/Domain.xml
Binding
Setting this line true or false will either disable or enable Slide security. By default in 2.1b2, you will not see this line in the slide.properties file and I do not know if binding is on by default. If you need binding, it is recommended that you add the following line.
org.apache.slide.binding=true
Security
Setting this line true or false will either disable or enable Slide security.
org.apache.slide.security=true
Locking
Setting this line true or false will either disable or enable Slide locking.
org.apache.slide.locking=true
Note: Even if your application does not use locking you should enable this unless you want everything in the webdav directory to be read only.
Version Control
Setting this line true or false will either disable or enable Slide Delta V version control.
org.apache.slide.versioncontrol=true
DASL
Setting this line true or false will either disable or enable Slide WebDAV Search capabilities.
org.apache.slide.dasl=true
URL Encoding
This sets the type of URL encoding to use. If this is not specified, then Slide will use your platform OS's way of URL encoding.
org.apache.slide.urlEncoding=UTF-8
Debug
Setting this line true or false will either disable or enable Slide debug output. Personally, I think this is useful to help better understand Slide given the current state of documentation.
org.apache.slide.debug=false