[gatein-issues] [JBoss JIRA] (GTNPORTAL-2539) Externalize default-repository in JCR configuration
Trong Tran (JIRA)
jira-events at lists.jboss.org
Mon Aug 13 05:12:14 EDT 2012
Trong Tran created GTNPORTAL-2539:
-------------------------------------
Summary: Externalize default-repository in JCR configuration
Key: GTNPORTAL-2539
URL: https://issues.jboss.org/browse/GTNPORTAL-2539
Project: GateIn Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Trong Tran
Priority: Minor
Fix For: 3.4.0.Final
Variablize {{default-repository}} and repository's {{name}} in Repository Service configuration, to make possible repository name configuration via _configuration.properties_.
Usage of the variable should be as follows:
{code:xml}
<repository-service default-repository="${gatein.jcr.repository.default:repository}">
<repositories>
<repository name="${gatein.jcr.repository.default:repository}" system-workspace="${gatein.jcr.workspace.system}" default-workspace="${gatein.jcr.workspace.default}">
...
</repository>
</repositories>
</repository-service>
{code}
The _configuration.properties_ will be:
{code}
# JCR system and default workspaces
gatein.jcr.repository.default=repository
gatein.jcr.workspace.default=collaboration
gatein.jcr.workspace.system=system
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list