From f45eac293bdda789a225cd9912194fe25ea6640e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Kov=C3=A1cs?= Date: Fri, 6 Jul 2018 08:34:44 +0200 Subject: [PATCH] fix compile path for cygwin --- maven-wrapper/mvnw | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/maven-wrapper/mvnw b/maven-wrapper/mvnw index e13f6777fc..9b59d0622a 100755 --- a/maven-wrapper/mvnw +++ b/maven-wrapper/mvnw @@ -245,6 +245,10 @@ else echo "Falling back to using Java to download" fi javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi if [ -e "$javaClass" ]; then if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then if [ "$MVNW_VERBOSE" = true ]; then