You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2017/04/12 17:37:59 UTC

svn commit: r1791165 - in /ofbiz/branches/release16.11: ./ framework/resources/templates/build.gradle

Author: jleroux
Date: Wed Apr 12 17:37:59 2017
New Revision: 1791165

URL: http://svn.apache.org/viewvc?rev=1791165&view=rev
Log:
Reverted: r1791144, was

"Applied fix from trunk framework for revision: 1791143  " 
------------------------------------------------------------------------
r1791143 | jleroux | 2017-04-12 18:38:59 +0200 (mer. 12 avr. 2017) | 23 lignes

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
------------------------------------------------------------------------

I was totally wrong to backport, this branch does not contain this issue.

Modified:
    ofbiz/branches/release16.11/   (props changed)
    ofbiz/branches/release16.11/framework/resources/templates/build.gradle

Propchange: ofbiz/branches/release16.11/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Apr 12 17:37:59 2017
@@ -10,5 +10,5 @@
 /ofbiz/branches/json-integration-refactoring:1634077-1635900
 /ofbiz/branches/multitenant20100310:921280-927264
 /ofbiz/branches/release13.07:1547657
-/ofbiz/ofbiz-framework/trunk:1783202,1783388,1784549,1784558,1784708,1785882,1785925,1786079,1786214,1786525,1787047,1787133,1787176,1787535,1787906-1787911,1787949,1789665,1789863,1789874,1790810,1791143
+/ofbiz/ofbiz-framework/trunk:1783202,1783388,1784549,1784558,1784708,1785882,1785925,1786079,1786214,1786525,1787047,1787133,1787176,1787535,1787906-1787911,1787949,1789665,1789863,1789874,1790810
 /ofbiz/trunk:1770481,1770490,1770540,1771440,1771448,1771516,1771935,1772346,1772880,1774772,1775441,1779724,1780659,1781109,1781125,1781979,1782498,1782520

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