jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Bocanegra <tri...@apache.org>
Subject Re: How to detect whether Oak is powering the repository?
Date Wed, 12 Mar 2014 16:56:34 GMT
Hi,

On Wed, Mar 12, 2014 at 9:10 AM, Carsten Ziegeler <cziegeler@apache.org> wrote:
> This is for SLING-3279 which is about improved observation handling when
> Oak is available. So I need to check, if Oak is used. In that case I can
> use the improved handling and if not, revert to the old code.
I think it's better to expose a "IMPROVED_OBSERVATION_HANDLING" flag
in the descriptors. so we can "improve" JR2 later as well. and you
don't need to rewrite your code.

regards, toby

> This allows
> to have a single bundle to deploy as 95% of the code is the same.
> The tests are run against both versions

sure.
regards, toby

>
>
> 2014-03-12 17:06 GMT+01:00 Bertrand Delacretaz <bdelacretaz@apache.org>:
>
>> Le 12 mars 2014 14:53, "Thomas Mueller" <mueller@adobe.com> a écrit :
>> >
>> > Hi,
>> >
>> > I'm wondering why would you want to check it?
>>
>> I've been doing that as well in sling tests that can run against various
>> repositories, to make sure the test setup is correct. If the tests break
>> sometimes in the future we can fix them, no big deal.
>>
>> Bertrand
>>
>
>
>
> --
> Carsten Ziegeler
> cziegeler@apache.org

Mime
View raw message