Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-1539

Tooling API should provide cancelation for long running operations

    Details

    • Type: Improvement
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1-rc-1

      Description

      With some Gradle operations taking over 10 minutes to run, cancelation is very important.

      In the present condition, it is often impossible to gracefully even just shutdown Eclipse without waiting for several minutes for some pending background Gradle task to complete. (A pity really since, if the next thing is shutting down Eclipse, the work done by these tasks is really not needed anymore).

      Since there is no API for canceling tasks or model build requests, the cancel button in Eclipse do not work, nor does Eclipse have any way of shutting down tasks prematurely if the result of the task is no longer required (such as when shutting down Eclipse).

      This is all potentially very frustrating to users. Often the only way to deal with these hangups is to kill the entire Eclipse process.

        Activity

        kdvolder Kris De Volder created issue -
        adammurdoch Adam Murdoch made changes -
        Field Original Value New Value
        Fix Version/s 1.0-milestone-4 [ 10060 ]
        adammurdoch Adam Murdoch made changes -
        Fix Version/s 1.0-rc-1 [ 10062 ]
        Fix Version/s 1.0-milestone-4 [ 10060 ]
        daz Daz DeBoer made changes -
        Workflow jira [ 12961 ] jira with pivotal tracker [ 14535 ]
        ldaley Luke Daley made changes -
        Fix Version/s 1.1 [ 10360 ]
        Fix Version/s 1.0-rc-1 [ 10062 ]
        adammurdoch Adam Murdoch made changes -
        Fix Version/s 1.1 [ 10360 ]
        ldaley Luke Daley made changes -
        Workflow jira with pivotal tracker [ 14535 ] jira with pivotal tracker (no resolved, only closed) [ 18669 ]
        ldaley Luke Daley made changes -
        Workflow jira with pivotal tracker (no resolved, only closed) [ 18669 ] Copy of jira with pivotal tracker (no closed, only resolved) [ 21269 ]
        radimk Radim Kubacki made changes -
        Assignee Radim Kubacki [ radimk ]
        radimk Radim Kubacki made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        adammurdoch Adam Murdoch made changes -
        Fix Version/s 2.1-rc-1 [ 11161 ]
        adammurdoch Adam Murdoch made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            radimk Radim Kubacki
            Reporter:
            kdvolder Kris De Volder
          • Votes:
            38 Vote for this issue
            Watchers:
            31 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development