...
- Configuration files (namely
local.cfg
,dspace.cfg
andmodules/*.cfg
) - Log4j settings (namely
log4j.properties
) - Spring XML configs (namely
[dspace.dir]/config/spring/api/*.xml
)
There is only one remaining file type which still requires its configurations/settings to be filtered/interpolated manually:
- 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.
Java API Changes
ConfigurationManager vs ConfigurationService
...