GWT Bean Validation + Hibernate Validator version?
What is the officially supported Hibernate Validator versionhttp://repository.jboss.org/nexus/content/groups/public-jboss/org/hibernate/hibernate-validator/that should be used in conjunction with GWT JSR 303 Bean Validationhttp://code.google.com/p/google-web-toolkit/wiki/BeanValidation? (Note: I'm using the word official, because the EXPERIMENTAL flag has now been removedhttps://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.xmlhttp://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.
Re: GWT Bean Validation + Hibernate Validator version?
This has actually been reported a few days ago: http://code.google.com/p/google-web-toolkit/issues/detail?id=7661, and in the comments on the wiki page. GWT is built against 4.1.0 Final and depends on Hibernate Validator internals (NodeImpl, PathImpl implementations, etc.), so I'd suggest you stick to that version, at least for compiling your client code (you could use 4.2.0 GA on the server-side for instance). On Monday, September 17, 2012 2:45:52 PM UTC+2, Chris Lercher wrote: What is the officially supported Hibernate Validator versionhttp://repository.jboss.org/nexus/content/groups/public-jboss/org/hibernate/hibernate-validator/that should be used in conjunction with GWT JSR 303 Bean Validationhttp://code.google.com/p/google-web-toolkit/wiki/BeanValidation? (Note: I'm using the word official, because the EXPERIMENTAL flag has now been removedhttps://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.xmlhttp://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/-/oe3QjqYzAN8J. 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.
Re: GWT Bean Validation + Hibernate Validator version?
Ok, thanks. On Monday, September 17, 2012 3:34:48 PM UTC+2, Thomas Broyer wrote: This has actually been reported a few days ago: http://code.google.com/p/google-web-toolkit/issues/detail?id=7661, and in the comments on the wiki page. GWT is built against 4.1.0 Final and depends on Hibernate Validator internals (NodeImpl, PathImpl implementations, etc.), so I'd suggest you stick to that version, at least for compiling your client code (you could use 4.2.0 GA on the server-side for instance). -- 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/-/5eA3hmlrQSUJ. 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.
Re: GWT Bean Validation + Hibernate Validator version?
Should GWT 2.5 SDK then bundle Hibernate Validator 4.1.0 if it depends on that specific (older) implementation? Or at least mention it somewhere in the docs that Hibernate 4.1.0 is the way to go? -- J. Am Montag, 17. September 2012 15:54:20 UTC+2 schrieb Chris Lercher: Ok, thanks. On Monday, September 17, 2012 3:34:48 PM UTC+2, Thomas Broyer wrote: This has actually been reported a few days ago: http://code.google.com/p/google-web-toolkit/issues/detail?id=7661, and in the comments on the wiki page. GWT is built against 4.1.0 Final and depends on Hibernate Validator internals (NodeImpl, PathImpl implementations, etc.), so I'd suggest you stick to that version, at least for compiling your client code (you could use 4.2.0 GA on the server-side for instance). -- 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/-/XDE-rgW6QxcJ. 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.