You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ta...@apache.org on 2016/07/22 18:03:01 UTC

svn commit: r1753823 - /ofbiz/trunk/build.gradle

Author: taher
Date: Fri Jul 22 18:03:01 2016
New Revision: 1753823

URL: http://svn.apache.org/viewvc?rev=1753823&view=rev
Log:
Fix a bug for gradle tasks not running in windows - OFBIZ-7815

Thanks to Jacques Le Roux for detecting the bug. The fix is extremely
simple with 4 characters, just add the .bat extension to the command
in the windows based version as shown in this commit

Modified:
    ofbiz/trunk/build.gradle

Modified: ofbiz/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1753823&r1=1753822&r2=1753823&view=diff
==============================================================================
--- ofbiz/trunk/build.gradle (original)
+++ ofbiz/trunk/build.gradle Fri Jul 22 18:03:01 2016
@@ -784,7 +784,7 @@ def createOfbizBackgroundCommandTask(tas
     }
 
     if (os.contains("windows")) {
-        gradleRunner = 'gradlew'
+        gradleRunner = 'gradlew.bat'
     } else {
         gradleRunner = './gradlew'
     }



Re: svn commit: r1753823 - /ofbiz/trunk/build.gradle

Posted by Jacques Le Roux <ja...@les7arts.com>.
Yes same kind of issue I crossed with doskey and finally led me to r1753170

Thanks Taher!

Jacques


Le 22/07/2016 � 20:03, taher@apache.org a �crit :
> Author: taher
> Date: Fri Jul 22 18:03:01 2016
> New Revision: 1753823
>
> URL: http://svn.apache.org/viewvc?rev=1753823&view=rev
> Log:
> Fix a bug for gradle tasks not running in windows - OFBIZ-7815
>
> Thanks to Jacques Le Roux for detecting the bug. The fix is extremely
> simple with 4 characters, just add the .bat extension to the command
> in the windows based version as shown in this commit
>
> Modified:
>      ofbiz/trunk/build.gradle
>
> Modified: ofbiz/trunk/build.gradle
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1753823&r1=1753822&r2=1753823&view=diff
> ==============================================================================
> --- ofbiz/trunk/build.gradle (original)
> +++ ofbiz/trunk/build.gradle Fri Jul 22 18:03:01 2016
> @@ -784,7 +784,7 @@ def createOfbizBackgroundCommandTask(tas
>       }
>   
>       if (os.contains("windows")) {
> -        gradleRunner = 'gradlew'
> +        gradleRunner = 'gradlew.bat'
>       } else {
>           gradleRunner = './gradlew'
>       }
>
>
>