Hi,
I'm using JBDS 2.0.0.Beta1 to update some Seam demos for JBoss AS 5.
I'm building EARs, using the wizard to create the "4 projects" structure.
I've noticed that org.hibernate.annotations is on my classpath, as expected, but org.hibernate.validator is not.
The project creation wizard is adding the "JBoss 5.0 Runtime" to the project's classpath, and this is containing my {JBOSS_HOME}/client and {JBOSS_HOME}/lib and some other paths, like web, JSF, EJB3, AOP libraries, but {JBOSS_HOME}/common/lib is missing.
This /common/lib is were I've found hibernate-validator.jar. Also you can see the [hibernate-annotations.jar] being included in both paths /client and /common/lib (which is strange IMHO as I had understood the new lib structure was meant to avoid having multiple copies of jars).
Which one should be correct? should I have a copy of hibernate-validator in both classpaths or should I remove one of the hibernate-annotations; in the removal case I think the JBDS should add the other path to project's classpaths?
Not only validator, but also the "hibernate core" libs are not available at compile time, so it looks like the tool is making it mandatory to use JPA instead of "classic" hibernate.
Should I open an issue? to which project ??
_________________ Sanne http://in.relation.to/
|