Friday, April 25, 2014

Re: GWT and BV/javax.validation 1.1



On Thursday, April 24, 2014 11:52:19 PM UTC+2, joerg.h...@googlemail.com wrote:
Hi there,

I had to upgrade BV on the server side. Now my GWT client fails:
                [ERROR] [mmm] - Line 43: No source code is available for type javax.validation.ParameterNameProvider; did you forget to inherit a required module?
...
                [ERROR] [mmm] - Unable to find type 'net.sf.mmm.app.client.SampleValidatorFactory.GwtValidator'

are there any plans to support more recent versions of BV in GWT?

No one is currently maintaining Validation: https://docs.google.com/document/d/1vyncxfuujIJ3L-PBLNM68tfeXRFZ4qDdnWEodblmvRg/edit
Volunteers welcome (https://groups.google.com/d/topic/google-web-toolkit-contributors/eq0LsmH2blw/discussion)
 
Any workarounds for the moment (maybe I just have to override BV versions in client POMs)?

Yes, just use different versions on each side. Client-side validation only works with Hibernate Validator 4.1, but you're free to use whatever implementation and version you want on the server-side.
 
Is there a roadmap for a more modularized variant of GWT without gwt-dev and gwt-sevlet that contain arbitrary third-party code in fixed versions?

"ASAP", but it won't be before 3.0 (i.e. not in 2.7).
For 2.7, I might have managed to moved the build from Ant to Gradle, but that's all.
Google is currently working on disentangling module dependencies which will make it possible to modularize GWT (this work is necessary for incremental compilation anyway).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment