On Thu, 3 Oct 2024 08:24:18 GMT, Ambarish Rapte <ara...@openjdk.org> wrote:
>> Running `gradle wrapper --gradle-version 8.10.2 >> --gradle-distribution-sha256-sum >> 31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26` on my >> Windows machine changes `gradlew` and `gradlew.bat` as follows: >> >> >> diff --git a/gradlew b/gradlew >> --- a/gradlew (revision d5432c3e14b06445bc45e34e4aa63ec415c03595) >> +++ b/gradlew (date 1727936286998) >> @@ -15,8 +15,6 @@ >> # See the License for the specific language governing permissions and >> # limitations under the License. >> # >> -# SPDX-License-Identifier: Apache-2.0 >> -# >> >> >> ############################################################################## >> # >> @@ -57,7 +55,7 @@ >> # Darwin, MinGW, and NonStop. >> # >> # (3) This script is generated from the Groovy template >> -# >> https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt >> +# >> https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt >> # within the Gradle project. >> # >> # You can find Gradle at https://github.com/gradle/gradle/. >> @@ -86,8 +84,7 @@ >> # shellcheck disable=SC2034 >> APP_BASE_NAME=${0##*/} >> # Discard cd standard output in case $CDPATH is set >> (https://github.com/gradle/gradle/issues/25036) >> -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s >> -' "$PWD" ) || exit >> +APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit >> >> # Use the maximum available, or set MAX_FD != -1 to use that value. >> MAX_FD=maximum >> >> >> >> diff --git a/gradlew.bat b/gradlew.bat >> --- a/gradlew.bat (revision d5432c3e14b06445bc45e34e4aa63ec415c03595) >> +++ b/gradlew.bat (date 1727936287168) >> @@ -13,8 +13,6 @@ >> @rem See the License for the specific language governing permissions and >> @rem limitations under the License. >> @rem >> -@rem SPDX-License-Identifier: Apache-2.0 >> -@rem >> >> @if "%DEBUG%"=="" @echo off >> @rem >> ########################################################################## > >> Running `gradle wrapper --gradle-version 8.10.2 >> --gradle-distribution-sha256-sum >> 31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26` on my >> Windows machine changes `gradlew` and `gradlew.bat` as follows: > > This is not occurring on my Windows machine either, wondering about the cause > of this difference. May be due to different Gradle version being used. I have > Gradle 8.9, but unsure of the cause. I see the same behavior as @arapte (I ran it on macOS). I don't know why @mstr2 is seeing something different, but the difference seems unimportant in any case. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1589#issuecomment-2391244795