...
- 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 a
dspace.dir
- ALWAYS be specified to the servlet container (
-Ddspace.dir
setting be specified in CATALINA_OPTS in order to run DSpace webapps)- as a Context parameter and/or system property).
- In other words, the DSpace webapps cannot function/initialize without a
dspace.dir
. We either need to filter a value for it (during ant update/fresh_install), or we need to REQUIRE that it be specified by other means.
Java API Changes
ConfigurationManager vs ConfigurationService
...