| <?xml version="1.0" encoding="UTF-8"?> |
| <module> |
| <!-- |
| Import this module to use Hibernate Validator during the compilation of validation classes for |
| gwt clients. |
| --> |
| <inherits name='com.google.gwt.validation.Validation' /> |
| <source path="constraints"> |
| <exclude name="impl/scriptassert/" /> |
| <exclude name="super/" /> |
| </source> |
| <source path="engine"> |
| <include name="ConstraintViolationImpl*.java"/> |
| <include name="ValidationSupport.java"/> |
| <include name="NodeImpl.java"/> |
| <include name="PathImpl*.java"/> |
| </source> |
| <source path=""> |
| <include name="ValidationMessages.java"/> |
| <include name="HibernateValidationMessageResolver.java"/> |
| </source> |
| <super-source path="super" /> |
| <replace-with |
| class="org.hibernate.validator.HibernateValidationMessageResolver"> |
| <when-type-is class="com.google.gwt.validation.client.ProviderValidationMessageResolver" /> |
| </replace-with> |
| </module> |