jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Using a properties file for values in repository.xml
Date Thu, 15 May 2008 08:18:36 GMT
Hi,

On Wed, May 14, 2008 at 10:07 PM, Thomas Müller <thomas.mueller@day.com> wrote:
>>  I was wondering if it is possible to have certain values used in repository.xml
in a properties
>> file, and somehow get repository xml to use those values?
>
> One solution is to use find / replace (read the document as a String,
> use String.replaceAll, store the document).

Since Jackrabbit 1.4 it has been possible to system properties as
${...} variables in repository.xml. See JCR-1304 [1] for more details.

[1] https://issues.apache.org/jira/browse/JCR-1304

BR,

Jukka Zitting

Mime
View raw message