[ofbiz-framework] branch trunk updated: Improved: Do not exclude files from component ‘config’ directories (OFBIZ-11161)

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

[ofbiz-framework] branch trunk updated: Improved: Do not exclude files from component ‘config’ directories (OFBIZ-11161)

mthl
This is an automated email from the ASF dual-hosted git repository.

mthl pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1a8860a  Improved: Do not exclude files from component ‘config’ directories (OFBIZ-11161)
1a8860a is described below

commit 1a8860a33f7327331af54e492bde4fa8f9f1ee60
Author: Mathieu Lirzin <[hidden email]>
AuthorDate: Fri Nov 8 18:58:36 2019 +0100

    Improved: Do not exclude files from component ‘config’ directories (OFBIZ-11161)
   
    With the goal of distributing OFBiz as a library in a Jar, we must
    include every configuration resource files in the Jar.
---
 build.gradle | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/build.gradle b/build.gradle
index b84153a..bfb9083 100644
--- a/build.gradle
+++ b/build.gradle
@@ -255,18 +255,6 @@ def excludedJavaSources = [
     'org/apache/ofbiz/order/thirdparty/taxware/TaxwareUTL.java'
 ]
 
-// Files and directories present in config directories that should not be included in ofbiz.jar (see OFBIZ-8321).
-def excludedConfigFiles = [
-    'README',
-    '*.txt',
-    '*.jks',
-    'fop.xconf',
-    'MiniLang.xslt',
-    'AutoImportTemplate.ftl',
-    'axis2',
-    'barcode'
-]
-
 sourceSets {
     main {
         java {
@@ -280,7 +268,6 @@ sourceSets {
             srcDirs = getDirectoryInActiveComponentsIfExists('src/main/resources')
             srcDirs += getDirectoryInActiveComponentsIfExists('config')
             srcDirs += getDirectoryInActiveComponentsIfExists('dtd')
-            exclude excludedConfigFiles
         }
     }