when executing the script on my windows-pc using cygwin I get an error that mvn is an invalid command.
I haven MAVEN_HOME set to C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.5\plugins\maven\lib\maven3.
This is my output:
## building graphhopper jar: web/target/graphhopper-web-0.13-SNAPSHOT.jar
## using maven at C:\Program Files\JetBrains\IntelliJ IDEA Community ./graphhopper.sh: line 156: C:\Program Files\JetBrains\IntelliJ IDEA
Community/bin/mvn: No such file or directory
## compilation of parent failed
The problems seems to be the many spaces within the path, which cause the following command from within the script to return only some parts:
I suppose the problem is more related to cut -d ' ' -f3,4,5,6 which simply omits every character after the 4th space within the string return by mvn -v.
I already use IntelliJ and build directly from there. That´s why I don´t consider this a big issue. Just wanted to mention it.