OpenLiberty / ci.gradle

Gradle plugins for managing Liberty profile servers #devops
Apache License 2.0
48 stars 51 forks source link

Cannot scroll terminal on Windows with libertyRun and libertyDev #384

Open ericglau opened 4 years ago

ericglau commented 4 years ago

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 and libertyDev.

For libertyRun, you could still look at the server logs. For libertyDev, 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 add org.gradle.console=plain to gradle.properties e.g. in the project directory or Gradle user home directory.

yeekangc commented 4 years ago

FYI re libertyRun, @cherylking.

ericglau commented 4 years ago

We should investigate and come up with a plan to address or mitigate the effects of this, even if this is a Gradle limitation.

ericglau commented 4 years ago

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.