spring-boot-migrator icon indicating copy to clipboard operation
spring-boot-migrator copied to clipboard

Make logging of compile errors configurable

Open fabapp2 opened this issue 2 years ago • 2 comments

What needs to be done

The logCompilationWarningsAndErrors flag of JavaParser.Builder should be configrable. The flag should be provided through a new property parser.logCompilationWarningsAndErrors=[true|false]

Why it needs to be done

It allows users to turn on/off logging output of JavaCompiler which can be annoying in some cases and helpful in others.

Acceptance Criteria

  • [ ] The flag for the JavaParser.Builder created in MavenModuleParser is taken from ParserProperties
  • [ ] The property and it's usage is described README
  • [ ] A test provided. E.g. parse the same (erronous) class twice in an integration test, once with true once with false and assert the rendered output

Additional Information

fabapp2 avatar Oct 18 '23 15:10 fabapp2