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

Endless build loop with "enhance" goal in combination with other plugins #227

Open
reckart opened this issue May 22, 2023 · 0 comments
Open
Assignees
Labels
🦟 Bug Something isn't working
Milestone

Comments

@reckart
Copy link
Member

reckart commented May 22, 2023

Describe the bug
It appears as if the enhance goal can trigger an endless build loop in Eclipse. There seem to be situations in which for some reason the goal always detects class files as not yet enhanced, enhances them, and this can then trigger some other project builders/decorators to enter the endless loop. In particular, I am observing this with the bnd:jar goal and the BND Eclipse Plugins installed.

To Reproduce
It is not particularly clear how to reproduce this. I have been working with a setup with Eclipse/m2e/BND/UIMA for quite some time now and only recently start experiencing this issue.

Expected behavior
Optimally, there should be no endless build loop ;) Of course, if the class files have not yet been enhanced, they should be enhanced. Some other plugins have an option to optionally disable execution during incremental builds. This could also be an option here since I mostly need the enhance goal only to run on full builds or even on command line builds.

Please complete the following information:

  • Version: 3.4.0

Additional context
See also: bndtools/bnd#5668

@reckart reckart added the 🦟 Bug Something isn't working label May 22, 2023
@reckart reckart added this to the 3.4.1 milestone May 22, 2023
@reckart reckart self-assigned this May 22, 2023
@reckart reckart changed the title Endless build loop with "enhance" goal Endless build loop with "enhance" goal in combination with other plugins May 22, 2023
@reckart reckart modified the milestones: 3.4.1, 3.5.1 Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦟 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant