[
https://issues.apache.org/jira/browse/OFBIZ-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15414991#comment-15414991 ]
Pierre Smits commented on OFBIZ-7948:
-------------------------------------
If your hot-deploy component uses specific external libraries (e.g. when built in house), you can include them in the build process. The way to do this is to create a specific build.gradle file in your hot-deploy component with following content:
{code}
dependencies {
//local file
compile files(<folder-name>/<external-library-name>.jar)
}
{code},
where <folder-name> is the name of the folder within your hot-deploy component where the external library resided (e.g. lib), and where <external-library-name> is the file name of the external library.
> gradle does not recognize paths to 3rd party jars in hot-deploy components
> --------------------------------------------------------------------------
>
> Key: OFBIZ-7948
> URL:
https://issues.apache.org/jira/browse/OFBIZ-7948> Project: OFBiz
> Issue Type: Bug
> Components: Gradle
> Affects Versions: Trunk
> Reporter: Wai
>
> I have a hot-deploy component. This component relies on 3rd party jars. I have added the paths to the 3rd party jars in the component's ofbiz-component.xml but the gradle build process complains about not being able to find symbols in those jars.
> This component used to build successfully with ant but now that ofbiz has switched to gradle, the build process fails
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)