Open zbynek opened 2 years ago
@zbynek thanks, i ll take a look.
@treblereel did you have time to check this? If not, could you please point me to some GWT 2 project using this new widgets library?
@zbynek Hello, it's not my top priority ... if you use gwt2, i think it's better to use existing validation api or switch to this great project https://gitlab.com/ManfredTremmel/gwt-bean-validators.
@treblereel thanks, but I'm not looking for a validation library. I just want to resolve the compilation errors that I get when I use the widget library with Gwt2. The long term goal is migrating from Gwt2 to j2cl, I was hoping that switching widgets to this library would be a useful intermediate step.
@zbynek i have answered to you in gitter
@zbynek please check https://github.com/treblereel/gwtproject/tree/development, if issue fixed, i ll publish new release
I still had some issues related to validation, most likely because several com.google modules were still inherited and that caused conflicts between supersourced javax.validation from the old modules and the new one. Partial fix proposed in https://github.com/treblereel/gwtproject/pull/14
While using the artifact
org.treblereel.gwt.gwtproject.widgets:gwt-widgets:202203291
I get a lot of errors like this:I tried adding
<inherits name="javax.validation.Validation"/>
to the module that also inherits widgets via<inherits name="org.gwtproject.user.Widgets" />
, but got the same error. I'm using Vertispan maven repo together with central to resolve maven dependencies. Tested with Java 8 + Gradle + both Windows and MacOS.