Hi Matthew,

Jackrabbit supports configuration variables in repository.xml. You can set
the DB URL using configuration variable of the form ${repo.db.url} and use
the system property for resolution.

See https://issues.apache.org/jira/browse/JCR-1304 and
http://jackrabbit.apache.org/jackrabbit-configuration.html#JackrabbitConfiguration-Configurationvariables

Regards,
Aparna
<https://issues.apache.org/jira/browse/JCR-1304>

On Mon, Aug 29, 2011 at 9:09 PM, Matthew Reeves <[email protected]>wrote:

> I've been searching the documentation for a couple days and while I've been
> able to figure out how to configure a persistence manager statically via the
> repository.xml file, I haven't yet seen anything explaining how to configure
> the URL parameter dynamically or within the application code.
>
> Is it possible when creating a TransientRepository to pass in properties
> otherwise defined in the repository.xml file?  Or perhaps
> creating/configuring an MSSqlPersistenceManager object with the URL property
> set in the application code?
>

Reply via email to