Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Description
If the gradle project is generated, the root directory listing has these gradle-wrapper related files:
```
ls -la demo/gradlew*
-rwxr-xr-x@ 1 morph staff 8070 Oct 2 21:47 demo/gradlew
-rwxr-xr-x@ 1 morph staff 2763 Oct 2 21:47 demo/gradlew.bat
```
The problem is that the second one, the bat file should not be executable, because it is auto-suggested in the shell to be executed, it raises inconvenience and requires manual fixing (via chmod). You can ensure and just list e.g. root directory of quarkus:
```
ls -la quarkus/mvnw*
-rwxr-xr-x 1 morph staff 10069 Oct 3 19:50 quarkus/mvnw
rw-rr- 1 morph staff 6607 Oct 3 19:50 quarkus/mvnw.cmd
```
The first file for *nix has the executable flag, the second file for Windows - does not.
This PR addresses the issue.
The same for maven wrapper bat executable.