Uploaded image for project: 'Apache Taverna'
  1. Apache Taverna
  2. TAVERNA-1000

Fix compile errors in taverna-workbench-common-activities

    XMLWordPrintableJSON

Details

    Description

      Compiling taverna-workbench-common-activities fails with:

      [INFO] Taverna 2 ExternalTool Activity UI ................. FAILURE [  0.649 s]
      [INFO] Taverna 2 WSDL Activity UI ......................... FAILURE [  5.488 s]
      

      (See https://builds.apache.org/job/incubator-taverna-workbench-common-activities/61/console )

      The first error is probably due to TAVERNA-988 / TAVERNA-995:

      [ERROR] Failed to execute goal on project taverna-external-tool-activity-ui: Could not resolve dependencies for project org.apache.taverna.ui-activities:taverna-external-tool-activity-ui:bundle:3.1.0-incubating-SNAPSHOT: Failure to find org.apache.taverna.workbench:taverna-renderers-impl:jar:3.1.0-incubating-SNAPSHOT in http://www.mygrid.org.uk/maven/snapshot-repository was cached in the local repository, resolution will not be reattempted until the update interval of mygrid-snapshot-repository has elapsed or updates are forced -> [Help 1]
      

      The second error seems to indicate the code is not quite up to date with the Taverna 3 APIs

      ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project taverna-wsdl-activity-ui: Compilation failure: Compilation failure:
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/WSDLServiceProvider.java:[51,52] type org.apache.taverna.servicedescriptions.AbstractConfigurableServiceProvider does not take parameters
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/WSDLServiceProvider.java:[52,49] type org.apache.taverna.servicedescriptions.CustomizedConfigurePanelProvider does not take parameters
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/WSDLServiceProvider.java:[206,85] type org.apache.taverna.servicedescriptions.CustomizedConfigurePanelProvider.CustomizedConfigureCallBack does not take parameters
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/ConfirmTrustedCertificateDialog.java:[55,53] cannot find symbol
      [ERROR] symbol:   class CMUtils
      [ERROR] location: package org.apache.taverna.security.credentialmanager
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/views/WSDLActivityConfigurationView.java:[175,57] constructor CredentialManagerUI in class org.apache.taverna.workbench.ui.credentialmanager.CredentialManagerUI cannot be applied to given types;
      [ERROR] required: org.apache.taverna.security.credentialmanager.CredentialManager,org.apache.taverna.security.credentialmanager.DistinguishedNameParser
      [ERROR] found: org.apache.taverna.security.credentialmanager.CredentialManager
      [ERROR] reason: actual and formal argument lists differ in length
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/WSDLServiceProvider.java:[75,59] cannot find symbol
      [ERROR] symbol:   method getConfiguration()
      [ERROR] location: variable serviceProvider of type org.apache.taverna.activities.wsdl.servicedescriptions.WSDLServiceProvider
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/WSDLServiceProvider.java:[116,28] cannot find symbol
      [ERROR] symbol:   variable serviceProviderConfig
      [ERROR] location: class org.apache.taverna.activities.wsdl.servicedescriptions.WSDLServiceProvider
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/WSDLServiceProvider.java:[122,74] incompatible types: java.util.List<java.lang.String> cannot be converted to java.util.List<javax.wsdl.Operation>
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/WSDLServiceProvider.java:[174,9] method does not override or implement a method from a supertype
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/WSDLServiceProvider.java:[176,42] cannot find symbol
      [ERROR] symbol:   method getConfiguration()
      [ERROR] location: class org.apache.taverna.activities.wsdl.servicedescriptions.WSDLServiceProvider
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/WSDLServiceProvider.java:[183,9] method does not override or implement a method from a supertype
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/WSDLServiceProvider.java:[186,40] cannot find symbol
      [ERROR] symbol:   method getConfiguration()
      [ERROR] location: class org.apache.taverna.activities.wsdl.servicedescriptions.WSDLServiceProvider
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/ConfirmTrustedCertificateDialog.java:[185,17] cannot find symbol
      [ERROR] symbol:   class CMUtils
      [ERROR] location: class org.apache.taverna.activities.wsdl.servicedescriptions.ConfirmTrustedCertificateDialog
      [ERROR] /home/stain/src/taverna/incubator-taverna-workbench-common-activities/taverna-wsdl-activity-ui/src/main/java/org/apache/taverna/activities/wsdl/servicedescriptions/ConfirmTrustedCertificateDialog.java:[185,36] cannot find symbol
      [ERROR] symbol:   class CMUtils
      [ERROR] location: class org.apache.taverna.activities.wsdl.servicedescriptions.ConfirmTrustedCertificateDialog
      [ERROR] -> [Help 2]
      [ERROR] 
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stain Stian Soiland-Reyes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: