Author: taher
Date: Tue Aug 14 05:55:29 2018
New Revision: 1837987
URL:
http://svn.apache.org/viewvc?rev=1837987&view=revLog:
Fixed: bug in which build scripts for plugins are not executing
Due to refactoring work a bug was introduced, this fix tackles
this issue in which plugin install and uninstall tasks are not
running.
reference:
https://s.apache.org/CKU9Thanks: Mathieu Lirzin for the analysis and patch.
Modified:
ofbiz/ofbiz-framework/trunk/build.gradle
Modified: ofbiz/ofbiz-framework/trunk/build.gradle
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/build.gradle?rev=1837987&r1=1837986&r2=1837987&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/build.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/build.gradle Tue Aug 14 05:55:29 2018
@@ -1037,10 +1037,10 @@ def taskExistsInproject(fullyQualifiedPr
subprojects.stream()
.filter { it.path == fullyQualifiedProject.toString() }
.flatMap { it.tasks.stream() }
- .anyMatch taskName.&equals
+ .anyMatch { it.name == taskName }
}
def gradlewSubprocess(commandList) {
def gradlew = os.contains('windows') ? 'gradlew.bat' : './gradlew'
exec { commandLine(gradlew, "--no-daemon", *commandList) }
-}
\ No newline at end of file
+}