Hi Torgeir, There are two approaches one can take
1. oak-pojorsr - Oak PojoSR [1] module provides a factory to use the built in OSGi support via PojoSR module without requiring the application to be deployed to OSGi container 2. Programatic Construction - Have a look at various testcases/fixtures [2] or docs [3] for programatically constructing Oak instance Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-pojosr [2] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/fixture/OakFixture.java#L378 [3] http://jackrabbit.apache.org/oak/docs/construct.html On Sun, Jul 13, 2014 at 4:39 PM, Torgeir Veimo <[email protected]> wrote: > I'm trying to instantiate an oak repository without any OSGi > environment. It looks like OakRepositoryFactory ignores any parameters > passed to it, just calling the empty Jcr() constructor, which results > in an in-memory repository. > > Are there any examples on how to configure eg a tarmk repository > outside of an OSGi environment? > > -- > -Tor
