You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Christophe Lombart <ch...@gmail.com> on 2007/09/20 22:03:26 UTC
coming back on the OCM reorg
Hil all,
I'm going to start the OCM project reorganization.
Do you have some commits to do in this subproject ?
I'm still looking for a solution to run the same unit tests with the
different mapper impl (digester, annotations, ...). This is not so easy if
we want to support java 1.4 because the object models used in the unit tests
are different (one with annotations and another one without annotation). Any
kind of suggestion is welcome.
thanks,
Christophe
Re: coming back on the OCM reorg
Posted by Christophe Lombart <ch...@gmail.com>.
On 9/21/07, Jukka Zitting <ju...@gmail.com> wrote:
>
> Hi,
>
> On 9/21/07, Bertrand Delacretaz <bd...@apache.org> wrote:
> > On 9/21/07, Christophe Lombart <christophe.lombart@gmail.com > wrote:
> > > On 9/21/07, Bertrand Delacretaz <bd...@apache.org> wrote:
> > > > ...The obvious suggestion would be to drop java 1.4 support for the
> OCM,...
> >
> > > ...Even if the OCM is moving outside the contrib area, why not to make
> a
> > > separate build process ?...
> >
> > I don't think it needs to be completely separate, a few different
> > settings in the POMs would probably do. But I'm not the right person
> > to talk about this, others here know the current build process and
> > roadmap much better than I do.
>
> I typically do the release builds on JDK 1.4 to make sure I catch any
> references to new methods in the Java 5 class libraries (the POM
> options only cover the language features), so from that perspective
> keeping a Java 5 OCM out of the standard build would make sense.
>
> I'd still have jackrabbit-ocm on the same directory level and with a
> similar POM (i.e. referencing the same parent POM) as the other
> release components, but I wouldn't include it in the normal
> multimodule build.
ok
Using Java 5 as the baseline for OCM would also remove the strict
> requirement for placing the different mapping mechanisms in different
> components, so I'd actually advocate using Java 5 and putting all the
> mappings in the same main component.
ok. It will simplify the ocm project structure but even if you are using the
annotations, the core will depend on the digester jars.
For me, this could be a tempory situation and see later depending on the
mapper usages.
BR,
>
> Jukka Zitting
>
Re: coming back on the OCM reorg
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On 9/21/07, Bertrand Delacretaz <bd...@apache.org> wrote:
> On 9/21/07, Christophe Lombart <ch...@gmail.com> wrote:
> > On 9/21/07, Bertrand Delacretaz <bd...@apache.org> wrote:
> > > ...The obvious suggestion would be to drop java 1.4 support for the OCM,...
>
> > ...Even if the OCM is moving outside the contrib area, why not to make a
> > separate build process ?...
>
> I don't think it needs to be completely separate, a few different
> settings in the POMs would probably do. But I'm not the right person
> to talk about this, others here know the current build process and
> roadmap much better than I do.
I typically do the release builds on JDK 1.4 to make sure I catch any
references to new methods in the Java 5 class libraries (the POM
options only cover the language features), so from that perspective
keeping a Java 5 OCM out of the standard build would make sense.
I'd still have jackrabbit-ocm on the same directory level and with a
similar POM (i.e. referencing the same parent POM) as the other
release components, but I wouldn't include it in the normal
multimodule build.
Using Java 5 as the baseline for OCM would also remove the strict
requirement for placing the different mapping mechanisms in different
components, so I'd actually advocate using Java 5 and putting all the
mappings in the same main component.
BR,
Jukka Zitting
Re: coming back on the OCM reorg
Posted by Bertrand Delacretaz <bd...@apache.org>.
On 9/21/07, Christophe Lombart <ch...@gmail.com> wrote:
> On 9/21/07, Bertrand Delacretaz <bd...@apache.org> wrote:
> > ...The obvious suggestion would be to drop java 1.4 support for the OCM,...
> ...Even if the OCM is moving outside the contrib area, why not to make a
> separate build process ?...
I don't think it needs to be completely separate, a few different
settings in the POMs would probably do. But I'm not the right person
to talk about this, others here know the current build process and
roadmap much better than I do.
-Bertrand
Re: coming back on the OCM reorg
Posted by Christophe Lombart <ch...@gmail.com>.
On 9/21/07, Bertrand Delacretaz <bd...@apache.org> wrote:
>
>
> The obvious suggestion would be to drop java 1.4 support for the OCM,
> but I'm not sure what impact that would have on the rest of the
> project, builds etc.
Even if the OCM is moving outside the contrib area, why not to make a
separate build process ?
Christophe
Re: coming back on the OCM reorg
Posted by Bertrand Delacretaz <bd...@apache.org>.
On 9/20/07, Christophe Lombart <ch...@gmail.com> wrote:
> ...I'm still looking for a solution to run the same unit tests with the
> different mapper impl (digester, annotations, ...). This is not so easy if
> we want to support java 1.4 because the object models used in the unit tests
> are different (one with annotations and another one without annotation)....
The obvious suggestion would be to drop java 1.4 support for the OCM,
but I'm not sure what impact that would have on the rest of the
project, builds etc.
The rationale would be that OCM is in less widespread use than
Jackrabbit itself, and that its development community is smaller.
IMO, the need and "development budget" for 1.4 compatibility are much
smaller than for Jackrabbit itself, if not inexistent.
-Bertrand