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

Gradle task jalviewjsTranspile does not fail on eclipse error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Ready for testing
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.11.2.7, 2.11.3.0, 2.11.3_js
    • Fix Version/s: 2.11.3_js
    • Component/s: gradle, jalview-j2s
    • Labels:
      None

      Description

      During the jalviewjs build process in gradle, the jalviewjsTranspile task uses an external eclipse (usually installed in ~/buildtools/eclipse) to run the transpilation.

      Sometimes, for unknown reasons, this installation can get itself into a state that runs, but does not run the transpilations, even though it has the j2s plugin present (and running). In this case the jalviewjsTranspile task doesn't fail although it has not transpiled any jalview classes.

      The jalviewjsTranspile task can analyse the eclipse output to decide whether a suitably successful transpilation has happened.

      In future, it may be that the jalviewjsTranspile task runs eclipse but eclipse decides nothing is new to compile and therefore nothing is compiled or transpiled so try and take account of that.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              soares Ben Soares
              Reporter:
              soares Ben Soares
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: