You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ta...@apache.org on 2016/09/18 06:58:27 UTC

svn commit: r1761302 - in /ofbiz/trunk: applications/accounting/lib/ build.gradle specialpurpose/example/lib/ specialpurpose/ldap/lib/

Author: taher
Date: Sun Sep 18 06:58:27 2016
New Revision: 1761302

URL: http://svn.apache.org/viewvc?rev=1761302&view=rev
Log:
Improved: local library classpath setup in OFBiz

Now that all local jars are removed from OFBiz, there is no need to either
keep the "lib" directory in components or to automatically load these libs
if they exist. If users want to add custom libraries, then can place them
directly in the top level directory "lib".

Hence this commit removes the remaining lib directories in the accounting,
example and ldap components and fixes build.gradle to not iterate the lib
directories in components for loading jars inside of them.

Removed:
    ofbiz/trunk/applications/accounting/lib/
    ofbiz/trunk/specialpurpose/example/lib/
    ofbiz/trunk/specialpurpose/ldap/lib/
Modified:
    ofbiz/trunk/build.gradle

Modified: ofbiz/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1761302&r1=1761301&r2=1761302&view=diff
==============================================================================
--- ofbiz/trunk/build.gradle (original)
+++ ofbiz/trunk/build.gradle Sun Sep 18 06:58:27 2016
@@ -174,9 +174,6 @@ dependencies {
     junitReport 'org.apache.ant:ant-junit:1.9.7'
 
     // local libs
-    getDirectoryInActiveComponentsIfExists('lib').each { libDir ->
-        compile fileTree(dir: libDir, include: '**/*.jar')
-    }
     compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
     runtime files("${rootDir}/build/libs/ofbiz-base-test.jar")
 }