Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-272

Fix warnings during build of downstream projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Optional Optional
    • Backlog
    • None
    • None
    • None
    • NEW
    • NEW

      During the optaplanner-wb build (and during drools-wb I've seen similar warnings), I get these warnings:

      From Errai:

      [INFO]    Adding '1' new generated units
      [INFO]       [WARN] Warnings in '.../.generated/org/jboss/errai/ioc/client/BootstrapperImpl.java'
      [INFO]          [WARN] Line 12820: Referencing method 'com.google.gwt.user.client.ui.Composite.setWidget': method 'com.google.gwt.user.client.ui.Composite.setWidget(Lcom/google/gwt/user/client/ui/Widget;)' is deprecated
      [INFO]          [WARN] Line 13150: Referencing method 'com.google.gwt.user.client.ui.UIObject.setElement': method 'com.google.gwt.user.client.ui.UIObject.setElement(Lcom/google/gwt/user/client/Element;)' is deprecated
      [INFO]          [WARN] Line 13360: Referencing method 'com.google.gwt.user.client.ui.Composite.setWidget': method 'com.google.gwt.user.client.ui.Composite.setWidget(Lcom/google/gwt/user/client/ui/Widget;)' is deprecated
      [INFO]          [WARN] Line 13690: Referencing method 'com.google.gwt.user.client.ui.UIObject.setElement': method 'com.google.gwt.user.client.ui.UIObject.setElement(Lcom/google/gwt/user/client/Element;)' is deprecated
      [INFO]          See snapshot: /tmp/org.jboss.errai.ioc.client.BootstrapperImpl8189523318899350245.java
      

      From uberfire:

      [INFO]    Computing all possible rebind results for 'org.uberfire.ext.widgets.common.client.resources.CommonResources'
      [INFO]       Rebinding org.uberfire.ext.widgets.common.client.resources.CommonResources
      [INFO]          Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
      [INFO]             Preparing method CSS
      [INFO]                The following problems were detected
      [INFO]                   [WARN] Line 196 column 25: encountered "=". Was expecting one of: "+" "-" "," "/" ")" <STRING> <IDENT> <NUMBER> <URL> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <HASH> <UNICODERANGE> <FUNCTION>
      
      WARN  [org.jboss.weld.Validator] WELD-001473: javax.enterprise.inject.spi.Bean implementation org.uberfire.backend.server.cdi.SystemConfigProducer$2@3236ccbb declared a normal scope but does not implement javax.enterprise.inject.spi.PassivationCapable. It won't be possible to inject this bean into a bean with passivating scope (@SessionScoped, @ConversationScoped). This can be fixed by assigning the Bean implementation a unique id by implementing the PassivationCapable interface.
      

      All these warnings make us blind to new warnings that our local changes are causing.

              mcimbora_jira Matej Čimbora (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: