Closed neomatrix369 closed 6 years ago
I agree some of the echos added are already taken care of by the DEBUG switch but I suggest its best to display these echos at all times, given the issues we have had.
@julianghionoiu could you also please run this script on Windows 10 before we merge the PR
@neomatrix369 which test cases have you covered?
@neomatrix369 both Java 9 and pre-Java 9 tests, also did a test where JAVA_HOME
exists and this path which might not have been traversed previously might be an issue to investigate, although a separate thread of investigation.
Now also do specific edge case tests with JAVA_FULL_VERSION
and wasn't able to reproduce the reported issue. The error "The syntax of the command is incorrect." could occur if a command is not supplied with the right parameters and e.g. just calling mv
or rm
or copy
.
On the back of the conversation about Windows batch script failing for the recording program.
Added echoes displaying system info and important environment variables and removed reserved characters like
>
and<
from echoes. <=== these were causing the error '..specified file cannot be found'Also fixed two usages of the set variable statements for
JAVA_HOME
andJAVA_FULL_VERSION
<=== this is what the user had as an issue and the other implementation ofset
itset "VARIABLE=VALUE"
surrounded by quotes.Here's a snapshot of the run logs: