-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when using Cygwin and useWildcardClassPath=true
#61
Comments
To add more context:
After a bit more digging, I've noticed that without
Enabling |
I get exactly the same error when running script generated with flag: |
Shell script generated with
useWildcardClassPath=true
is not working properly on Git Bash command-line. (MINGW64
).Symptoms:
cygwin
console i get:Error: Could not find or load main class
bat
works fine and the shell script executes fine on Linux machine.useWildcardClassPath=false
After some investigation I've found that the issue is related to the wildcard in path and the fact that
cygpath
conversion is actually not invoked and for some reasons Unix-styleCLASSPATH
is ok without wildcard, but with wildcard it is not.Change from:
To:
Solves the issue.
Can you incorporate support for git-bash (MINGW64)?
It seems more and more popular nowadays.
The text was updated successfully, but these errors were encountered: