Open ericglau opened 4 years ago
FYI re libertyRun, @cherylking.
We should investigate and come up with a plan to address or mitigate the effects of this, even if this is a Gradle limitation.
I think we should just document something on https://github.com/OpenLiberty/ci.gradle/blob/master/docs/libertyDev.md to mention the --console=plain
or org.gradle.console=plain
workaround as described above.
By default, Gradle has a continuously refreshing progress bar in the console. On Windows, this prevents you from scrolling up in the terminal. This particularly affects long running operations like
libertyRun
andlibertyDev
.For
libertyRun
, you could still look at the server logs. ForlibertyDev
, it has additional output like compile result messages and test result messages that will not be accessible once they are scrolled out of the screen.The workaround is to run Gradle with
--console=plain
, or addorg.gradle.console=plain
togradle.properties
e.g. in the project directory or Gradle user home directory.