...
- All
web.xml
files unfortunately still need to have their${dspace.dir}
variable filtered (by Ant). This is because thedspace.dir
context parameter in theseweb.xml
files is used to initialize the DSpace Kernel (and tell the webapp where the DSpace home directory is). Unfortunately, there's no way to interpolate this value at runtime as thedspace.dir
value does not exist until the Kernel and the ConfigurationService have initialized. The only way we'd get around this problem would be to require adspace.dir
system property ALWAYS be specified to the servlet container (e.g. for Tomcat this would mean requiring a-Ddspace.dir
setting be specified in CATALINA_OPTS in order to run DSpace webapps)
...