svn commit: r1756515 - in /ofbiz/trunk: ./ build.gradle lib/ lib/README

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

svn commit: r1756515 - in /ofbiz/trunk: ./ build.gradle lib/ lib/README

jleroux@apache.org
Author: jleroux
Date: Tue Aug 16 13:10:45 2016
New Revision: 1756515

URL: http://svn.apache.org/viewvc?rev=1756515&view=rev
Log:
A patch from Taher Alkhateeb for "Improve component template(s) to work with the Gradle solution" reported by Pierre Smits at https://issues.apache.org/jira/browse/OFBIZ-7910

I am attaching a patch that creates a custom libs folder in OFBiz top level directory where people can keep their jars and update the master script build.gradle accordingly.

jleroux: I svn:ignore the libs folder since only specific users libs will get there

Added:
    ofbiz/trunk/lib/
    ofbiz/trunk/lib/README   (with props)
Modified:
    ofbiz/trunk/   (props changed)
    ofbiz/trunk/build.gradle

Propchange: ofbiz/trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Aug 16 13:10:45 2016
@@ -16,3 +16,4 @@ gui.bat
 ofbiz.jar
 gui.bat - Raccourci.lnk
 gui.jar
+lib

Modified: ofbiz/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1756515&r1=1756514&r2=1756515&view=diff
==============================================================================
--- ofbiz/trunk/build.gradle (original)
+++ ofbiz/trunk/build.gradle Tue Aug 16 13:10:45 2016
@@ -208,6 +208,7 @@ dependencies {
     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")
 }
 

Added: ofbiz/trunk/lib/README
URL: http://svn.apache.org/viewvc/ofbiz/trunk/lib/README?rev=1756515&view=auto
==============================================================================
--- ofbiz/trunk/lib/README (added)
+++ ofbiz/trunk/lib/README Tue Aug 16 13:10:45 2016
@@ -0,0 +1,6 @@
+Place your custom jar files in here.
+
+If you want to use a public open source library, it is recommended
+that you do not place the library in here. Instead declare it as a
+dependency in your build scripts (build.gradle files) by finding the
+appropriate library in jcenter (https://bintray.com/bintray/jcenter)

Propchange: ofbiz/trunk/lib/README
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/lib/README
------------------------------------------------------------------------------
    svn:mime-type = text/plain