svn commit: r1799699 - /ofbiz/ofbiz-plugins/trunk/birt/build.gradle

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1799699 - /ofbiz/ofbiz-plugins/trunk/birt/build.gradle

jleroux@apache.org
Author: jleroux
Date: Fri Jun 23 20:07:47 2017
New Revision: 1799699

URL: http://svn.apache.org/viewvc?rev=1799699&view=rev
Log:
Fixed: Birt plugin depends on example plugin
(OFBIZ-9383)

The BIRT demo data for flexible reports depends on the Example entity from the
Example plugin.
We should either provide BIRT's own example data with example reports OR
setup a gradle dependency on the example plugin so that everything is in place.

jleroux: I did not like to duplicate the example data in birt or an alike
solution.
So I put a gradle dependency on the example plugin.
If the example plugin misses the birt component can't build.
I put some comments to explain the possible issue and its solution out of
demonstration.

Thanks: Michael Brohl for report

Modified:
    ofbiz/ofbiz-plugins/trunk/birt/build.gradle

Modified: ofbiz/ofbiz-plugins/trunk/birt/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/birt/build.gradle?rev=1799699&r1=1799698&r2=1799699&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/birt/build.gradle (original)
+++ ofbiz/ofbiz-plugins/trunk/birt/build.gradle Fri Jun 23 20:07:47 2017
@@ -3,4 +3,11 @@ dependencies {
         exclude group: 'org.eclipse.birt.runtime.3_7_1', module: 'derby'
         exclude group: 'org.eclipse.birt.runtime.3_7_1', module: 'org.apache.batik.pdf'
     }
-}
\ No newline at end of file
+}
+// If the example plugin misses the birt component can't build.
+// If you want to use the birt component independently of the example plugin
+// simply comment out or remove the line below.
+apply from: '../example/build.gradle'
+// Then the flexible report example will not work
+// It's not an issue out of demonstration
+// If needed simply remove the birt data related to the example component