Author: jleroux
Date: Sat Oct 5 08:10:03 2019 New Revision: 1868000 URL: http://svn.apache.org/viewvc?rev=1868000&view=rev Log: Improved: no functional change As reported by Ethan Vos on user ML, sometimes the alias between wget and Invoke-WebRequest is not present on Windows 7, better keep it simple! Also removes the comment: Anyway I believe this should be only used in dev environment which is no longer true Modified: ofbiz/branches/release16.11/gradle/init-gradle-wrapper.ps1 ofbiz/ofbiz-framework/branches/release17.12/gradle/init-gradle-wrapper.ps1 Modified: ofbiz/branches/release16.11/gradle/init-gradle-wrapper.ps1 URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/gradle/init-gradle-wrapper.ps1?rev=1868000&r1=1867999&r2=1868000&view=diff ============================================================================== --- ofbiz/branches/release16.11/gradle/init-gradle-wrapper.ps1 (original) +++ ofbiz/branches/release16.11/gradle/init-gradle-wrapper.ps1 Sat Oct 5 08:10:03 2019 @@ -20,10 +20,8 @@ if ((Test-Path -Path ((Get-Item -Path ". exit } -# This uses PowerShell Invoke-WebRequest command (aliased as wget here) # HTTPS is not used because it gets complicated with Powershell and .Net framework versions depending on Windows versions -# Anyway I believe this should be only used in dev environment -wget -outf gradle\wrapper\gradle-wrapper.jar http://dl.bintray.com/apacheofbiz/GradleWrapper/v2.13/gradle-wrapper.jar -wget -outf gradle\wrapper\gradle-wrapper.properties http://dl.bintray.com/apacheofbiz/GradleWrapper/v2.13/gradle-wrapper.properties -wget -outf gradlew.bat http://dl.bintray.com/apacheofbiz/GradleWrapper/v2.13/gradlew.bat +Invoke-WebRequest -outf gradle\wrapper\gradle-wrapper.jar http://dl.bintray.com/apacheofbiz/GradleWrapper/v2.13/gradle-wrapper.jar +Invoke-WebRequest -outf gradle\wrapper\gradle-wrapper.properties http://dl.bintray.com/apacheofbiz/GradleWrapper/v2.13/gradle-wrapper.properties +Invoke-WebRequest -outf gradlew.bat http://dl.bintray.com/apacheofbiz/GradleWrapper/v2.13/gradlew.bat Modified: ofbiz/ofbiz-framework/branches/release17.12/gradle/init-gradle-wrapper.ps1 URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/branches/release17.12/gradle/init-gradle-wrapper.ps1?rev=1868000&r1=1867999&r2=1868000&view=diff ============================================================================== --- ofbiz/ofbiz-framework/branches/release17.12/gradle/init-gradle-wrapper.ps1 (original) +++ ofbiz/ofbiz-framework/branches/release17.12/gradle/init-gradle-wrapper.ps1 Sat Oct 5 08:10:03 2019 @@ -20,10 +20,8 @@ if ((Test-Path -Path ((Get-Item -Path ". exit } -# This uses PowerShell Invoke-WebRequest command (aliased as wget here) # HTTPS is not used because it gets complicated with Powershell and .Net framework versions depending on Windows versions -# Anyway I believe this should be only used in dev environment -wget -outf gradle\wrapper\gradle-wrapper.jar http://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradle-wrapper.jar -wget -outf gradle\wrapper\gradle-wrapper.properties http://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradle-wrapper.properties -wget -outf gradlew.bat http://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradlew.bat +Invoke-WebRequest -outf gradle\wrapper\gradle-wrapper.jar http://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradle-wrapper.jar +Invoke-WebRequest -outf gradle\wrapper\gradle-wrapper.properties http://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradle-wrapper.properties +Invoke-WebRequest -outf gradlew.bat http://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradlew.bat |
Free forum by Nabble | Edit this page |