Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • All web.xml files unfortunately still need to have their ${dspace.dir} variable filtered (by Ant). This is because the dspace.dir context parameter in these web.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 the dspace.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 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)

...