Re: Asynchronous indexing consistency

2013-06-12 Thread Jukka Zitting
Hi, After some thought and discussions about this, it seems to me that the tree copy approach is probably too complex to implement. Instead I'd like to propose a checkpoint mechanism that allows a client to request a state of the repository to be excluded from garbage collection for a specified

Re: Initialize Oak CR

2013-06-12 Thread PeriS
Any help please? Is it somewhere else I should be looking for replies? On Jun 10, 2013, at 2:00 PM, PeriS pvsub...@indiana.edu wrote: I m trying the following; Oak oak = new Oak(); ContentRepository repository = oak.createContentRepository(); I understand this should give me a default CR

Re: Initialize Oak CR

2013-06-12 Thread Alex Parvulescu
Hi, you can always take a look at the tests, see how we bootstrap a repository, that should get you going in the right direction. [0], [1] [0] http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/AbstractRepositoryTest.java [1]