jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: How to detect whether Oak is powering the repository?
Date Wed, 12 Mar 2014 17:32:23 GMT
Yepp, it's new API - but you never know if just the API bundle is deployed
(for whatever reasons).

Regards
Carsten


2014-03-12 18:00 GMT+01:00 Felix Meschberger <fmeschbe@adobe.com>:

> Hi
>
> Isn't this new behaviour exposed through API which is not available on
> non-Oak systems ? So just trying to instantiate a class implementing that
> new API would signal that.
>
> Regards
> Felix
>
> Am 12.03.2014 um 17:10 schrieb Carsten Ziegeler <cziegeler@apache.org>:
>
> > 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. This allows
> > to have a single bundle to deploy as 95% of the code is the same.
> > The tests are run against both versions
> >
> >
> > 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
>
>


-- 
Carsten Ziegeler
cziegeler@apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message