Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch Group that runs gradle task with the post launch action set to wait for termination waits infinitely #1272

Open
coehlrich opened this issue Oct 16, 2023 · 0 comments

Comments

@coehlrich
Copy link
Contributor

Expected Behavior

The launch group either executes next launch configuration or finishes.

Current Behavior

The launch group waits for the gradle task to finish infinitely.

Launch groups when set to wait for termination checks ILaunch.isTerminated and IProgressMonitor.isCanceled to see if the task has been terminated where the default implementation of ILaunch.isTerminated checks to see if atleast one process or debug target has been registered of which buildship currently registers neither.

Context

I am trying to create a launch group which runs a gradle task and waits for it to terminate.

Steps to Reproduce

  1. Create a launch group run configuration.
  2. Set the launch group to execute any gradle run configuration.
  3. Set the launch group to wait for the gradle run configuration to terminate.
  4. Run the launch group.

Your Environment

Eclipse: 2023-09, Buildship version: 3.1.7.v20230428-1602.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant