OpenLiberty / liberty-tools-intellij

IntelliJ IDEA extension for Liberty
https://plugins.jetbrains.com/plugin/14856-open-liberty-tools
Eclipse Public License 2.0
12 stars 24 forks source link

FVT: Execute cd and mvn in the same command for Liberty Actions #800

Closed turkeylurkey closed 3 months ago

turkeylurkey commented 3 months ago

I hope you don't mind but I included a bit of fix up on LibertyRunTestsAction and LibertyStopAction to clarify and simplify the code. These are all the places where LibertyActionUtil.executeCommand() are called.

Fixes #797

TrevCraw commented 3 months ago

Tested this fix locally using "runIde" with IntelliJ 2024.1.2 on Windows and the getting-started-guide from the root project directory. The fix does work for the first run of Liberty: Start. There is a new problem when trying to run Liberty: Start the 2nd time. image

turkeylurkey commented 3 months ago

Funny things happen on Windows in actual use.