Author: jleroux
Date: Wed Apr 12 16:38:59 2017
New Revision: 1791143

URL: http://svn.apache.org/viewvc?rev=1791143&view=rev
Log:
Fixed: The createTenant Gradle task fails
(OFBIZ-9273)

Problem:
When you enter
bq. gradlew createTenant -PtenantId=test
you get
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\projectsASF\ofbiz-framework\build.gradle' line: 764
* What went wrong:
A problem occurred evaluating root project 'ofbiz'.
> Could not get unknown property 'pluginId' for task ':installAllPlugins' of 
type org.gradle.api.DefaultTask.

Investigation:
This issue is due creation of build.gradle file in plugin (with empty gradle 
task defined in it)

Solution:
Comment out build.gradle template content

Thanks: Deepak for confirmation, Swapnil M Mane for the investigation and patch

Modified:
    ofbiz/ofbiz-framework/trunk/framework/resources/templates/build.gradle

Modified: ofbiz/ofbiz-framework/trunk/framework/resources/templates/build.gradle
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/resources/templates/build.gradle?rev=1791143&r1=1791142&r2=1791143&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/resources/templates/build.gradle 
(original)
+++ ofbiz/ofbiz-framework/trunk/framework/resources/templates/build.gradle Wed 
Apr 12 16:38:59 2017
@@ -1,3 +1,4 @@
+/*
 dependencies {
     //Examples of compile-time and runtime dependencies
 
@@ -16,3 +17,4 @@ task uninstall {
         // uninstall logic for this plugin
     }
 }
+*/


Reply via email to