[hibernate-dev] HibernateExt/metadata split
Emmanuel Bernard
emmanuel at hibernate.org
Sun Jan 14 10:19:57 EST 2007
Max Rydahl Andersen wrote:
>
> > Here is what I'd like to do in the next 2 weeks.
> >
> > HibernateExt/annotations-commons
> > HibernateExt/annotations (old /metadata)
> > HibernateExt/entityManager (old /ejb)
> > HibernateExt/search
> > HibernateExt/validator
>
> what is annotations-commons ? Just commons ?
>
1. Discover Generics
2. Abstract Annotations so that orm.xml is seen as annotations by binders.
>
>
> > Alternatively, annotations and entityManager under a jpa directory
> > HibernateExt/annotations-commons
> > HibernateExt/jpa/annotations (old /metadata)
> > HibernateExt/jpa/entityManager (old /ejb)
> > HibernateExt/search
> > HibernateExt/validator
>
> Why the extra level ?
>
The rational was to have fewer top level directories and to put Java
Persistence under a single umbrella, but I'm not tied to it.
>
>
> > or simply get rid of HibernateExt
> > annotations-commons
> > jpa/annotations (old /metadata)
> > jpa/entityManager (old /ejb)
> > search
> > validator
> > (tools)
>
> fine by me IFF (especially) hibernate core and the other modules
> could get some shared build stuff and/or proper dependency management
> so we don't repeat our self constantly in all those build files.
>
oh boy...
>
>
> > thoughts?
>
> I guess your most important immediate need is to have separated
> search/validator from annotations
> and for that just doing the first split should be trivial since that is
> what we can do today
> "painlessly"
>
> > If someone knows how to physically do that with SVN without loosing all
> > the history, esp since we have trunk and branch_3_2 (main work
> > currently)... I am all ears :-)
>
> svn copy your stuff to the correct places i assume.
>
> > PS: I thought about doing standalone distributions while keeping the
> > same dev structure, but Hibernate Search is getting more complex with
> > the master/slave mode and I need multiple src/test structures for it
>
> same as hibernate tools I assume; why does this prevent having the same
> structure ?
>
HS will have to create .ear or .war plus to test it I'll need to use
JBoss Embeddable... which depends on hibernate annotations if I keep
./metadata as is, it's going to be clumsy
>
>
> --
> --
> Max Rydahl Andersen
> callto://max.rydahl.andersen
>
> Hibernate
> max at hibernate.org
> http://hibernate.org
>
> JBoss a division of Red Hat
> max.andersen at jboss.com
>
More information about the hibernate-dev
mailing list