After another issue reported today by Steven Payne on user ML about the
execution policy of PowerShell7, rather than using the pwsh path I document in
README.adoc solutions for cases we crossed so far.
Moreover I noticed today that my previous fix was not enough. "pwsh" was used
twice in the cmd line!
Thanks: David S Hunter and Steven Payne for reports on user ML
Updates init-gradle-wrapper.bat
to exit if Gradle wrapper already exists
to start PowerShell (>=7) in admin mode, this to be able to use Set-ItemProperty
Updates init-gradle-wrapper.ps1
to removes exit if Gradle wrapper already exists
to create the gradle/wrapper dir if necessary
to handle the ConstrainedLanguage mode if necessary
Conflicts handled by hand
gradle/init-gradle-wrapper.ps1
Conflicts handled by hand
gradle/init-gradle-wrapper.ps1
to our build notes
(OFBIZ-10145)
Adds the Windows init-gradle-wrapper scripts (both .bat et .ps1) in all
concerned branch (trunk, R18, R17)
These are very simple because I believe (almost?) nobody is using a Windows
server to deploy OFBiz in production. So they will be only used in development
environment. In case deployment in production is needed they supply a base to
work on...
The init-gradle-wrapper.ps1 scripts use only HTTP and not HTTPS because it's
very difficult to handle all the issues related with different versions of
Powershell and .net in different versions of Windows. Better to let that to
deployment in case it's really needed...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1864927 13f79535-47bb-0310-9956-ffa450edef68