Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-3350

Fix guava error when running IGB from Netbeans

    Details

      Description

      Situation: When running IGB master from Netbeans I noticed that IGB was unable to resolve com.google.guava. This is due to a missing requirement for <artifactId>failureaccess</artifactId>.

      Task: Add <artifactId>failureaccess</artifactId> such that com.google.guava is able to resolve.

        Attachments

          Activity

          Hide
          nfreese Nowlan Freese added a comment - - edited

          Commit: https://bitbucket.org/nfreese/nowlanfork-igb/commits/d03c4c7871b19fc856846aad38bbb00b0e10c37b

          To test:
          Fetch my branch and clean and build in Netbeans and then run from Netbeans and IntelliJ, the two IDEs the core team is using.
          There should be no errors such as "unable to resolve".
          Once IGB is running check that all bundles are active: http://localhost:7080/system/console/bundles

          Show
          nfreese Nowlan Freese added a comment - - edited Commit: https://bitbucket.org/nfreese/nowlanfork-igb/commits/d03c4c7871b19fc856846aad38bbb00b0e10c37b To test: Fetch my branch and clean and build in Netbeans and then run from Netbeans and IntelliJ, the two IDEs the core team is using. There should be no errors such as "unable to resolve". Once IGB is running check that all bundles are active: http://localhost:7080/system/console/bundles
          Hide
          nfreese Nowlan Freese added a comment -

          Note: My understanding of the shared-lib-wrapper pom.xml is limited, but it seems like dependencies/artifactItem need to be included to properly run through Netbeans, as I do not see the same errors if something is missing from shared-lib-wrapper when running maven through the terminal. Likewise, if something is missing from the main pom.xml but included in the shared-lib-wrapper then IGB seems to build fine from Netbeans but throws errors when building through the terminal.

          Show
          nfreese Nowlan Freese added a comment - Note: My understanding of the shared-lib-wrapper pom.xml is limited, but it seems like dependencies/artifactItem need to be included to properly run through Netbeans, as I do not see the same errors if something is missing from shared-lib-wrapper when running maven through the terminal. Likewise, if something is missing from the main pom.xml but included in the shared-lib-wrapper then IGB seems to build fine from Netbeans but throws errors when building through the terminal.
          Hide
          ann.loraine Ann Loraine added a comment -

          For future reference, when testing a change that affects a library/dependency entry in a POM, need to test IGB running in IDEs as well as from command line and from installer.

          Show
          ann.loraine Ann Loraine added a comment - For future reference, when testing a change that affects a library/dependency entry in a POM, need to test IGB running in IDEs as well as from command line and from installer.
          Hide
          nfreese Nowlan Freese added a comment -

          See this case study on issues with running IGB in development mode: https://canvas.instructure.com/courses/1164217/files/67490997?module_item_id=19105206

          Show
          nfreese Nowlan Freese added a comment - See this case study on issues with running IGB in development mode: https://canvas.instructure.com/courses/1164217/files/67490997?module_item_id=19105206
          Hide
          nfreese Nowlan Freese added a comment -

          I have a verbal confirmation that testing was successful for Kaushik, so I have included the pull request below.

          Pull request: https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/931

          Show
          nfreese Nowlan Freese added a comment - I have a verbal confirmation that testing was successful for Kaushik, so I have included the pull request below. Pull request: https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/931
          Hide
          kgopu Kaushik Gopu added a comment -

          Status:
          i) no errors were found while running the application in IDE development mode.
          ii) all bundles are in active mode.

          Show
          kgopu Kaushik Gopu added a comment - Status: i) no errors were found while running the application in IDE development mode. ii) all bundles are in active mode.
          Hide
          ann.loraine Ann Loraine added a comment -

          Merged and building master branch installers.

          Show
          ann.loraine Ann Loraine added a comment - Merged and building master branch installers.
          Hide
          ann.loraine Ann Loraine added a comment -

          Since the error is visible during development mode and the change has solved the development mode issue, skipping further testing. Moving to Done.

          Show
          ann.loraine Ann Loraine added a comment - Since the error is visible during development mode and the change has solved the development mode issue, skipping further testing. Moving to Done.

            People

            • Assignee:
              nfreese Nowlan Freese
              Reporter:
              nfreese Nowlan Freese
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: