At the moment it is not possible to execute utplsql-cli from git bash.
The shell script that invokes utPLSQL-cli fails to recognize gitBash.
So in the utplsql script there are lines:
...
# OS specific support. $var _must_ be set to either true or false.
cygwin=false;
darwin=false;
case "`uname`" in
CYGWIN*) cygwin=true ;;
Darwin*) darwin=true
....
What is actually needied is to add one line:
MINGW64*) cygwin=true ;; into the case statement
...
# OS specific support. $var _must_ be set to either true or false.
cygwin=false;
darwin=false;
case "`uname`" in
MINGW64*) cygwin=true ;;
CYGWIN*) cygwin=true ;;
Darwin*) darwin=true
....
Without adding that line I see following errors when calling utplsql info
Error: Could not find or load main class org.utplsql.cli.Cli
Caused by: java.lang.ClassNotFoundException: org.utplsql.cli.Cli
With that line added, all works well:
[main] DEBUG org.utplsql.cli.Cli - Args: info
utPLSQL-cli 3.1.9.local
utPLSQL-java-api 3.1.9.local
Interestingly, it worked ok in version 3.1.8 so it seems that something got broken in version 3.1.9
At the moment it is not possible to execute utplsql-cli from git bash. The shell script that invokes utPLSQL-cli fails to recognize gitBash. So in the
utplsql
script there are lines:What is actually needied is to add one line:
MINGW64*) cygwin=true ;;
into the case statementWithout adding that line I see following errors when calling
utplsql info
With that line added, all works well:
Interestingly, it worked ok in version 3.1.8 so it seems that something got broken in version 3.1.9