Author: jleroux
Date: Sat Oct 5 08:05:54 2019
New Revision: 1867998
URL:
http://svn.apache.org/viewvc?rev=1867998&view=revLog:
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/ofbiz-framework/trunk/gradle/init-gradle-wrapper.ps1
Modified: ofbiz/ofbiz-framework/trunk/gradle/init-gradle-wrapper.ps1
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/gradle/init-gradle-wrapper.ps1?rev=1867998&r1=1867997&r2=1867998&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/gradle/init-gradle-wrapper.ps1 (original)
+++ ofbiz/ofbiz-framework/trunk/gradle/init-gradle-wrapper.ps1 Sat Oct 5 08:05:54 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
-# Anyway I believe this should be only used in dev environment
-wget -outf gradle\wrapper\gradle-wrapper.jar
http://dl.bintray.com/apacheofbiz/GradleWrapper/v5.0.0/gradle-wrapper.jar-wget -outf gradle\wrapper\gradle-wrapper.properties
http://dl.bintray.com/apacheofbiz/GradleWrapper/v5.0.0/gradle-wrapper.properties-wget -outf gradlew.bat
http://dl.bintray.com/apacheofbiz/GradleWrapper/v5.0.0/gradlew.bat+Invoke-WebRequest -outf gradle\wrapper\gradle-wrapper.jar
http://dl.bintray.com/apacheofbiz/GradleWrapper/v5.0.0/gradle-wrapper.jar+Invoke-WebRequest -outf gradle\wrapper\gradle-wrapper.properties
http://dl.bintray.com/apacheofbiz/GradleWrapper/v5.0.0/gradle-wrapper.properties+Invoke-WebRequest -outf gradlew.bat
http://dl.bintray.com/apacheofbiz/GradleWrapper/v5.0.0/gradlew.bat