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

Infinite build loop when Step definitions glue detection enabled #443

Open
Stratehm opened this issue Oct 21, 2021 · 0 comments
Open

Infinite build loop when Step definitions glue detection enabled #443

Stratehm opened this issue Oct 21, 2021 · 0 comments

Comments

@Stratehm
Copy link

Describe the bug
In our team, we have an Eclipse workspace containing multiple Cucumber projets. All is running fine until an infinite build loop is starting. This loop does not starts at the Eclipse launch but only after a while (we have not identified a specific moment or action which triggers this infinite build loop). Until this infinite loop starts, the workspace is running fine. The inifinte loop can be "killed" by cancelling the task in the progress view of Eclipse but when a file is accessed/modified/saved, the loop starts again. We have to restart Eclipse to end this behavior.

We have found that when the Cucumber plugin configuration "Enable step definitions glue detection" is disabled, we do not have this infinite build loop.
Moreover, when this option is enabled and the infinite loop happens, the "Maven Workspace Build" view show the files target/classes/.cucumber/cucumber.glue.tmp and target/classes/.cucumber/cucumber.stepDefinitions.tmp as the files that trigger the build.

To resume, these files are updated, which then trigger a build, which then update these files, which then trigger the build, which change these files and so on.

To Reproduce
I have tried to reproduce this behavior in another workspace but unfortunately have not succeeded.

Expected behavior
The build should happen only once

Desktop

  • OS: Ubuntu 20.04.3
  • Eclipse 2021-03 (4.19.0),
  • OpenJDK Runtime Environment (build 16.0.1+9-Ubuntu-120.04)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant