Tuesday, June 14, 2016

GWT-2.8-SNAPSHOT jar questions

Hi all,
 I have a couple of questions regarding GWT 2.8 SNAPSHOT:

1. Why am I picking up  tons of jetty libraries for doing a simple gwt compilation? I could understand the need for the Jetty jars, if I was running the code server, or including the servlet library, but just for compilation...? Seems like this is coming from the gwt-dev.jar? Here is what my Gradle dependency report looks like:

+--- com.google.gwt:gwt-codeserver:2.8.0-SNAPSHOT
|    \--- com.google.gwt:gwt-dev:2.8.0-SNAPSHOT
|         +--- org.ow2.asm:asm:5.0.3
|         +--- org.ow2.asm:asm-util:5.0.3 (*)
|         +--- org.ow2.asm:asm-commons:5.0.3
|         |    \--- org.ow2.asm:asm-tree:5.0.3 (*)
|         +--- org.eclipse.jetty.websocket:websocket-client:9.2.14.v20151106
|         |    +--- org.eclipse.jetty:jetty-util:9.2.14.v20151106
|         |    +--- org.eclipse.jetty:jetty-io:9.2.14.v20151106
|         |    |    \--- org.eclipse.jetty:jetty-util:9.2.14.v20151106
|         |    \--- org.eclipse.jetty.websocket:websocket-common:9.2.14.v20151106
|         |         +--- org.eclipse.jetty.websocket:websocket-api:9.2.14.v20151106
|         |         +--- org.eclipse.jetty:jetty-util:9.2.14.v20151106
|         |         \--- org.eclipse.jetty:jetty-io:9.2.14.v20151106 (*)
|         +--- org.eclipse.jetty:jetty-webapp:9.2.14.v20151106
|         |    +--- org.eclipse.jetty:jetty-xml:9.2.14.v20151106
|         |    |    \--- org.eclipse.jetty:jetty-util:9.2.14.v20151106
|         |    \--- org.eclipse.jetty:jetty-servlet:9.2.14.v20151106
|         |         \--- org.eclipse.jetty:jetty-security:9.2.14.v20151106
|         |              \--- org.eclipse.jetty:jetty-server:9.2.14.v20151106
|         |                   +--- javax.servlet:javax.servlet-api:3.1.0
|         |                   +--- org.eclipse.jetty:jetty-http:9.2.14.v20151106
|         |                   |    \--- org.eclipse.jetty:jetty-util:9.2.14.v20151106
|         |                   \--- org.eclipse.jetty:jetty-io:9.2.14.v20151106 (*)
|         +--- org.eclipse.jetty:jetty-servlets:9.2.14.v20151106
|         |    +--- org.eclipse.jetty:jetty-continuation:9.2.14.v20151106
|         |    +--- org.eclipse.jetty:jetty-http:9.2.14.v20151106 (*)
|         |    +--- org.eclipse.jetty:jetty-util:9.2.14.v20151106
|         |    \--- org.eclipse.jetty:jetty-io:9.2.14.v20151106 (*)
|         +--- org.eclipse.jetty:jetty-annotations:9.2.14.v20151106
|         |    +--- org.eclipse.jetty:jetty-plus:9.2.14.v20151106
|         |    |    +--- org.eclipse.jetty:jetty-webapp:9.2.14.v20151106 (*)
|         |    |    \--- org.eclipse.jetty:jetty-jndi:9.2.14.v20151106
|         |    |         \--- org.eclipse.jetty:jetty-util:9.2.14.v20151106
|         |    +--- org.eclipse.jetty:jetty-webapp:9.2.14.v20151106 (*)
|         |    +--- javax.annotation:javax.annotation-api:1.2
|         |    +--- org.ow2.asm:asm:5.0.1 -> 5.0.3
|         |    \--- org.ow2.asm:asm-commons:5.0.1 -> 5.0.3 (*)
|         \--- org.eclipse.jetty:apache-jsp:9.2.14.v20151106
|              +--- org.eclipse.jetty:jetty-util:9.2.14.v20151106
|              +--- org.eclipse.jetty:jetty-server:9.2.14.v20151106 (*)
|              +--- org.eclipse.jetty.toolchain:jetty-schemas:3.1.M0
|              +--- javax.servlet:javax.servlet-api:3.1.0
|              +--- org.mortbay.jasper:apache-jsp:8.0.9.M3
|              |    +--- org.eclipse.jetty.toolchain:jetty-schemas:3.1.M0
|              |    \--- org.mortbay.jasper:apache-el:8.0.9.M3
|              \--- org.eclipse.jetty.orbit:org.eclipse.jdt.core:3.8.2.v20130121
+--- com.google.gwt:gwt-dev:2.8.0-SNAPSHOT (*)
+--- javax.validation:validation-api:1.0.0.GA -> 1.1.0.Final (See next question)

2. When is the validation api in GWT 2.8 going to be upgraded to 1.1.0.Final? Other libraries are forcing a dependency upgrade, which results in this mess:
Tracing compile failure path for type 'com.google.gwt.validation.client.impl.ConstraintDescriptorImpl'
      [ERROR] Errors in 'com/google/gwt/validation/client/impl/ConstraintDescriptorImpl.java'
         [ERROR] Line 35: The type ConstraintDescriptorImpl<T> must implement the inherited abstract method ConstraintDescriptor<T>.getMessageTemplate()
         [ERROR] Line 35: The type ConstraintDescriptorImpl<T> must implement the inherited abstract method ConstraintDescriptor<T>.getValidationAppliesTo()
   Tracing compile failure path for type 'com.google.gwt.validation.client.impl.GwtValidatorContext'
      [ERROR] Errors in 'com/google/gwt/validation/client/impl/GwtValidatorContext.java'
         [ERROR] Line 29: The type GwtValidatorContext must implement the inherited abstract method ValidatorContext.parameterNameProvider(ParameterNameProvider)
   Tracing compile failure path for type 'com.google.gwt.validation.client.impl.NodeImpl'
      [ERROR] Errors in 'com/google/gwt/validation/client/impl/NodeImpl.java'
         [ERROR] Line 25: The type NodeImpl must implement the inherited abstract method Path.Node.as(Class<T>)
         [ERROR] Line 25: The type NodeImpl must implement the inherited abstract method Path.Node.getKind()
   Tracing compile failure path for type 'com.google.gwt.validation.client.impl.ConstraintViolationImpl'
      [ERROR] Errors in 'com/google/gwt/validation/client/impl/ConstraintViolationImpl.java'
         [ERROR] Line 31: The type ConstraintViolationImpl<T> must implement the inherited abstract method ConstraintViolation<T>.getExecutableReturnValue()
         [ERROR] Line 31: The type ConstraintViolationImpl<T> must implement the inherited abstract method ConstraintViolation<T>.getExecutableParameters()
         [ERROR] Line 31: The type ConstraintViolationImpl<T> must implement the inherited abstract method ConstraintViolation<T>.unwrap(Class<U>)
   Tracing compile failure path for type 'com.google.gwt.validation.client.impl.ConstraintValidatorContextImpl'
      [ERROR] Errors in 'com/google/gwt/validation/client/impl/ConstraintValidatorContextImpl.java'
         [ERROR] Line 46: The type ConstraintValidatorContextImpl<A,T>.ConstraintViolationBuilderImpl must implement the inherited abstract method ConstraintValidatorContext.ConstraintViolationBuilder.addPropertyNode(String)
         [ERROR] Line 39: The type ConstraintValidatorContextImpl<A,T> must implement the inherited abstract method ConstraintValidatorContext.unwrap(Class<T>)
         [ERROR] Line 112: The type ConstraintValidatorContextImpl<A,T>.NodeBuilderDefinedContextImpl must implement the inherited abstract method ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext.addPropertyNode(String)
         [ERROR] Line 79: The type ConstraintValidatorContextImpl<A,T>.NodeBuilderCustomizableContextImpl must implement the inherited abstract method ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext.addBeanNode()
         [ERROR] Line 79: The type ConstraintValidatorContextImpl<A,T>.NodeBuilderCustomizableContextImpl must implement the inherited abstract method ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext.addPropertyNode(String)
         [ERROR] Line 112: The type ConstraintValidatorContextImpl<A,T>.NodeBuilderDefinedContextImpl must implement the inherited abstract method ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext.addBeanNode()
         [ERROR] Line 46: The type ConstraintValidatorContextImpl<A,T>.ConstraintViolationBuilderImpl must implement the inherited abstract method ConstraintValidatorContext.ConstraintViolationBuilder.addParameterNode(int)
         [ERROR] Line 46: The type ConstraintValidatorContextImpl<A,T>.ConstraintViolationBuilderImpl must implement the inherited abstract method ConstraintValidatorContext.ConstraintViolationBuilder.addBeanNode()
         [ERROR] Line 142: The type ConstraintValidatorContextImpl<A,T>.NodeContextBuilderImpl must implement the inherited abstract method ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder.addBeanNode()
         [ERROR] Line 142: The type ConstraintValidatorContextImpl<A,T>.NodeContextBuilderImpl must implement the inherited abstract method ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder.addPropertyNode(String)
   Tracing compile failure path for type 'javax.validation.ParameterNameProvider'
      [ERROR] Errors in 'javax/validation/ParameterNameProvider.java'
         [ERROR] Line 54: No source code is available for type java.lang.reflect.Method; did you forget to inherit a required module?
         [ERROR] Line 44: No source code is available for type java.lang.reflect.Constructor<T>; did you forget to inherit a required module?
   Tracing compile failure path for type 'com.google.gwt.validation.client.GwtConstraintValidatorFactory'
      [ERROR] Errors in 'com/google/gwt/validation/client/GwtConstraintValidatorFactory.java'
         [ERROR] Line 26: The type GwtConstraintValidatorFactory must implement the inherited abstract method ConstraintValidatorFactory.releaseInstance(ConstraintValidator<?,?>)
   Tracing compile failure path for type 'javax.validation.executable.ExecutableValidator'
      [ERROR] Errors in 'javax/validation/executable/ExecutableValidator.java'
         [ERROR] Line 53: No source code is available for type java.lang.reflect.Method; did you forget to inherit a required module?
         [ERROR] Line 94: No source code is available for type java.lang.reflect.Constructor<T>; did you forget to inherit a required module?
   Tracing compile failure path for type 'com.google.gwt.validation.client.impl.PropertyDescriptorImpl'
      [ERROR] Errors in 'com/google/gwt/validation/client/impl/PropertyDescriptorImpl.java'
         [ERROR] Line 31: The type PropertyDescriptorImpl must implement the inherited abstract method CascadableDescriptor.getGroupConversions()
      [ERROR] Errors in 'com/google/gwt/validation/client/impl/ConstraintDescriptorImpl.java'
         [ERROR] Line 35: The type ConstraintDescriptorImpl<T> must implement the inherited abstract method ConstraintDescriptor<T>.getMessageTemplate()
         [ERROR] Line 35: The type ConstraintDescriptorImpl<T> must implement the inherited abstract method ConstraintDescriptor<T>.getValidationAppliesTo()
   Tracing compile failure path for type 'com.google.gwt.validation.client.impl.GwtBeanDescriptorImpl'
      [ERROR] Errors in 'com/google/gwt/validation/client/impl/GwtBeanDescriptorImpl.java'
         [ERROR] Line 38: The type GwtBeanDescriptorImpl<T> must implement the inherited abstract method BeanDescriptor.getConstraintsForConstructor(Class<?>...)
         [ERROR] Line 38: The type GwtBeanDescriptorImpl<T> must implement the inherited abstract method BeanDescriptor.getConstrainedConstructors()
         [ERROR] Line 38: The type GwtBeanDescriptorImpl<T> must implement the inherited abstract method BeanDescriptor.getConstraintsForMethod(String, Class<?>...)
         [ERROR] Line 38: The type GwtBeanDescriptorImpl<T> must implement the inherited abstract method BeanDescriptor.getConstrainedMethods(MethodType, MethodType...)
      [ERROR] Errors in 'com/google/gwt/validation/client/impl/ConstraintDescriptorImpl.java'
         [ERROR] Line 35: The type ConstraintDescriptorImpl<T> must implement the inherited abstract method ConstraintDescriptor<T>.getMessageTemplate()
         [ERROR] Line 35: The type ConstraintDescriptorImpl<T> must implement the inherited abstract method ConstraintDescriptor<T>.getValidationAppliesTo()
      [ERROR] Errors in 'com/google/gwt/validation/client/impl/PropertyDescriptorImpl.java'
         [ERROR] Line 31: The type PropertyDescriptorImpl must implement the inherited abstract method CascadableDescriptor.getGroupConversions()
   [ERROR] Aborting compile due to errors in some input files

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment