You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Saw this running Start on a Liberty app on Windows.
ECHO is on.
Liberty Tools running command: \mvn.cmd io.openliberty.tools:liberty-maven-plugin:dev from directory: C:\git\guides\guide-maven-multimodules\finish
with the Terminal immediately ending up in a <Closed> state, without mvn apparently running.
I think what is happening is that when an "empty" entry ends up on the PATH env var, e.g. set PATH="%PATH%;;C:\mydir" then our test (in io.openliberty.tools.eclipse.CommandBuilder to see if mvn.cmd exists in that dir) succeeds
FiletempFile = newFile(member + File.separator + executableBaseName);
if (tempFile.exists()) {
even though there's no mvn there. I think we might want to special case the empty string and not allow this comparison to succeed.
EXCEPT... it would be nice to understand the Windows file/path syntax enough to know what /mvn.cmd is supposed to represent???
Not finding any hits searching so leaving this open.
The text was updated successfully, but these errors were encountered:
Saw this running Start on a Liberty app on Windows.
with the Terminal immediately ending up in a
<Closed>
state, without mvn apparently running.I think what is happening is that when an "empty" entry ends up on the PATH env var, e.g.
set PATH="%PATH%;;C:\mydir"
then our test (inio.openliberty.tools.eclipse.CommandBuilder
to see if mvn.cmd exists in that dir) succeedseven though there's no mvn there. I think we might want to special case the empty string and not allow this comparison to succeed.
EXCEPT... it would be nice to understand the Windows file/path syntax enough to know what
/mvn.cmd
is supposed to represent???Not finding any hits searching so leaving this open.
The text was updated successfully, but these errors were encountered: