Hello! I've noted that in DSpace 6.x the ConfigurationManager
<https://github.com/DSpace/DSpace/blob/dspace-6.0-rc2/dspace-api/src/main/java/org/dspace/core/ConfigurationManager.java>
has been deprecated in favour of DSpaceConfigurationService
<https://github.com/DSpace/DSpace/blob/dspace-6.0-rc2/dspace-services/src/main/java/org/dspace/servicemanager/config/DSpaceConfigurationService.java>.
However, some XSL files in some XMLUI themes (Mirage, Mirage2, etc...)
still have the references to the now deprecated class (per example when
declaring the *confman *namespace). How can I replace correctly this old
reference by the new one?
If I do the following changes:
<xsl:stylesheet ... xmlns:confman=
"org.dspace.servicemanager.config.DSpaceConfigurationService" ... />
<!-- BODY -->
<!-- ... .... ... -->
<xsl:value-of select="confman:getPropertyKeys('authority.required')"/>
<!-- ... ... ... --->
</xsl:stylesheet>
and the XSL page is processed when the application is running, the
following exception arise (full stacktrace <http://pastebin.com/VBwnp8x0>):
*DSpace home directory could not be determined. It MUST include a subpath
of '/config/config-definition.xml'. Please consider setting the
'dspace.dir' system property or ensure the dspace-api.jar is being run from
[dspace]/lib/.*
How I must configure the *config-definitions.xml? *Is necessary in this
case?
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.