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

          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