You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "visvendra1991 (via GitHub)" <gi...@apache.org> on 2026/05/21 13:20:14 UTC

[PR] Fixed: Correct the Unix command for downloading the Gradle wrapper in README (OFBIZ-13417) [ofbiz-framework]

visvendra1991 opened a new pull request, #1230:
URL: https://github.com/apache/ofbiz-framework/pull/1230

   Fixed: Correct the Unix command for downloading the Gradle wrapper in README
   
   (OFBIZ-13417)
   
   ### Explanation
   
   The "Quick start" section of `README.md` documented the Unix command to download the Gradle wrapper as an absolute path:
   
   ```
   Unix-like OS: `/gradle/init-gradle-wrapper.sh`
   ```
   
   The leading slash makes it an absolute path, so running it from the OFBiz home directory fails with `No such file or directory`.
   
   This changes it to a relative path with the `sh` prefix:
   
   ```
   Unix-like OS: `sh gradle/init-gradle-wrapper.sh`
   ```
   
   which matches the script's own `--help` usage text (`gradle/init-gradle-wrapper.sh` prints `Usage: sh gradle/init-gradle-wrapper.sh [--help] [--upgrade]`) and is consistent with the Windows command shown just above it.
   
   ### Thanks
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fixed: Correct the Unix command for downloading the Gradle wrapper in README (OFBIZ-13417) [ofbiz-framework]

Posted by "jacopoc (via GitHub)" <gi...@apache.org>.
jacopoc commented on PR #1230:
URL: https://github.com/apache/ofbiz-framework/pull/1230#issuecomment-4511221097

   Thank you @visvendra1991, I have merged your Pull Request!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fixed: Correct the Unix command for downloading the Gradle wrapper in README (OFBIZ-13417) [ofbiz-framework]

Posted by "jacopoc (via GitHub)" <gi...@apache.org>.
jacopoc commented on code in PR #1230:
URL: https://github.com/apache/ofbiz-framework/pull/1230#discussion_r3282982056


##########
README.md:
##########
@@ -106,7 +106,7 @@ MS Windows: `init-gradle-wrapper`
 > **Note** -
 > If you wonder where are stored the PowerShell Executables, here are the answers: [https://s.apache.org/w5dye](https://s.apache.org/w5dye)
 
-Unix-like OS: `/gradle/init-gradle-wrapper.sh`
+Unix-like OS: `sh gradle/init-gradle-wrapper.sh`

Review Comment:
   For consistency with other *nix commands described in the README, it would be better to use instead:
   `./gradle/init-gradle-wrapper.sh`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fixed: Correct the Unix command for downloading the Gradle wrapper in README (OFBIZ-13417) [ofbiz-framework]

Posted by "visvendra1991 (via GitHub)" <gi...@apache.org>.
visvendra1991 commented on code in PR #1230:
URL: https://github.com/apache/ofbiz-framework/pull/1230#discussion_r3283304427


##########
README.md:
##########
@@ -106,7 +106,7 @@ MS Windows: `init-gradle-wrapper`
 > **Note** -
 > If you wonder where are stored the PowerShell Executables, here are the answers: [https://s.apache.org/w5dye](https://s.apache.org/w5dye)
 
-Unix-like OS: `/gradle/init-gradle-wrapper.sh`
+Unix-like OS: `sh gradle/init-gradle-wrapper.sh`

Review Comment:
   Thanks @jacopoc, agreed — that's more consistent with the other Unix-like commands in the README. Updated to `./gradle/init-gradle-wrapper.sh`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fixed: Correct the Unix command for downloading the Gradle wrapper in README (OFBIZ-13417) [ofbiz-framework]

Posted by "jacopoc (via GitHub)" <gi...@apache.org>.
jacopoc merged PR #1230:
URL: https://github.com/apache/ofbiz-framework/pull/1230


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org