Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-3153

Headless eclipse build fails with "An error occurred while automatically activating bundle org.eclipse.ui.externaltools"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Dev and Dep, jalview-j2s
    • Labels:
      None

      Description

      The eclipse build reported an EXIT=1 failure with this in the log file:
      "An error occurred while automatically activating bundle
      org.eclipse.ui.externaltools"
      However, the transpiler seemed to have done its work.

      Googling around revealed one bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=525057

      No workaround was provided.

      The build was fixed by:
      1. Logging in to our bamboo instance with an ssh -X tunnel session and switching to the bamboo user (remember to propagate the xauth credentials from your login to the bamboo user and set DISPLAY correctly).
      2. Running eclipse over the X-tunnel by changing to the 'buildtools' directory, and typing ./eclipse-js/eclipse.
      3. Once eclipse has finished starting up - a build is automatically performed - the terminal should show lots of transpiler output. When it finishes, no errors or warnings will be shown on the jalview-js project.
      4. Shutting down eclipse, logging out, and re-running the bamboo build.

        Attachments

          Activity

            People

            Assignee:
            jprocter James Procter
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: