[
https://issues.apache.org/jira/browse/OFBIZ-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415356#comment-15415356 ]
Wai commented on OFBIZ-7948:
----------------------------
Following your instruction by placing the build.gradle into the hot-deploy component, I ran gradlew and received the following error.
$ gradlew cleanAll
FAILURE: Build failed with an exception.
* Where:
Build file '/home/me/workspace/ofbiz-trunk/hot-deploy/mycomponent/build.gradle' line: 3
* What went wrong:
A problem occurred evaluating project ':hot-deploy:mycomponent'.
> Could not find method compile() for arguments [file collection] on project ':hot-deploy:mycomponent'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
> 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)