Author: taher
Date: Thu Mar 16 13:31:11 2017
New Revision: 1787183
URL:
http://svn.apache.org/viewvc?rev=1787183&view=revLog:
Fixed: Renamed internal task to avoid collission on regex task name matching
(OFBIZ-9262)
A bug was detected in which a task activates when calling cleanAll because
it starts with the word "clean" which is matched automatically in a regex.
This fix simply renames the task to avoid matching the task and hence
automatically executing it.
Thanks: Wai for reporting this issue
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=1787183&r1=1787182&r2=1787183&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/build.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/build.gradle Thu Mar 16 13:31:11 2017
@@ -747,10 +747,10 @@ task pullPluginSource(group: ofbizPlugin
task pullAllPluginsSource(group: ofbizPlugin,
description: 'Download and install all plugins from source control. Warning! deletes existing plugins') {
- task cleanupBeforePulling {
+ task deleteBeforePulling {
doLast { delete "${rootDir}/plugins" }
}
- task pullPluginsFromSvn(type: SvnCheckout, dependsOn: cleanupBeforePulling) {
+ task pullPluginsFromSvn(type: SvnCheckout, dependsOn: deleteBeforePulling) {
svnUrl = "
https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk"
workspaceDir = "${rootDir}/plugins"
}