What is the officially supported Hibernate Validator 
version<http://repository.jboss.org/nexus/content/groups/public-jboss/org/hibernate/hibernate-validator/>that
 should be used in conjunction with GWT 
JSR 303 Bean 
Validation<http://code.google.com/p/google-web-toolkit/wiki/BeanValidation>? 
(Note: I'm using the word "official", because the EXPERIMENTAL flag has now 
been 
removed<https://groups.google.com/d/topic/google-web-toolkit-contributors/jyaODjNwVj0/discussion>
 in 
trunk.)

*4.0.2 GA*

4.0.2 GA is the version the "validation" sample uses in its 
pom.xml<http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/validation/pom.xml>.
 But 
this doesn't really work: Compiling with "-strict" fails with

  Errors in 
'jar:file:/path/to/gwt-2.5.0.rc1/gwt-user.jar!/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/URLValidator.java'
         Line 20: The import org.hibernate.validator.constraints.URL cannot 
be resolved
         Line 26: URL cannot be resolved to a type

*4.2.0 Final*

I also tried 4.2.0 Final, but this fails twofold:

First problem:

  [ERROR] Errors in 
'jar:file:/path/to/gwt-user.jar!/org/hibernate/validator/super/org/hibernate/validator/engine/PathImpl.java'
              [ERROR] Line 72: The constructor NodeImpl(String) is undefined

Second problem:

Version 4.2.0 requires Joda time, which cannot be used on the client side

*
*
*4.1.0 Final*
*
*
After some experimenting, I found that this is the only version that really 
works.

So I'd like to know, if this is the best version to use for now, and where 
we can find out when to upgrade to which newer version.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/1KT13z1edJ0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to