ci.maven
ci.maven copied to clipboard
Java file change that fixes compilation error can trigger multiple feature generation calls
If multiple Java files are modified while there are compilation errors, once the compilation errors are resolved by a Java file change, there will be multiple feature generation calls. It appears that on Windows, the class file changes are being grouped together by package. Maybe this won't be an issue on Mac?
Find a way to only generate features once in this scenario.
Steps to reproduce:
- Use the demo devmode project
- Use
mvn liberty:devorgradle libertyDevto start up dev mode - Add SystemLivenessCheck.java as the demo devmode instructions show
- Add a new package to
src\main\java\io\openliberty\sampleand create a new Java file in the new package - Make a breaking change to SystemLivenessCheck.java - should be compilation error and no feature generation
- Make a working change to the new Java file - should still be compilation error and no feature generation
- Fix the breaking change in SystemLivenessCheck.java - compilation is successful and feature generation runs twice
Debug output: debug-output.txt