[
https://issues.apache.org/jira/browse/OFBIZ-11147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16914284#comment-16914284 ]
Aditya Sharma commented on OFBIZ-11147:
---------------------------------------
Thanks Girish and Bilgin for the amazing contribution :) It will indeed add a lot of value.
I tried the plugin in the attached file and it fails on the build.
{code:java}
/ofbiz-camel/src/main/java/org/apache/ofbiz/camel/loader/CamelContainer.java:54: error: method getConfiguration in class ContainerConfig cannot be applied to given types;/ofbiz-camel/src/main/java/org/apache/ofbiz/camel/loader/CamelContainer.java:54: error: method getConfiguration in class ContainerConfig cannot be applied to given types;> Building 0% > ContainerConfig.Configuration cfg = ContainerConfig.getConfiguration(name); ^ required: String,String found: String reason: actual and formal argument lists differ in length
{code}
I traced out it, it seems there are some changes in tar file from Github [repository|
https://github.com/bibryam/ofbiz-camel]
{code:java}
- ContainerConfig.Configuration cfg = ContainerConfig.getConfiguration(name, configFile);
+ ContainerConfig.Configuration cfg = ContainerConfig.getConfiguration(name);
{code}
Other than that:
As runtime extends compile-time dependencies. There should be no need to again add camel dependency as a runtime dependency.
See
[
https://docs.gradle.org/2.12/userguide/java_plugin.html]
[
https://docs.gradle.org/4.9/userguide/java_plugin.html#java_plugin]
I have raised a pull request for the same [#6|
https://github.com/bibryam/ofbiz-camel/pull/6]
--
This message was sent by Atlassian Jira
(v8.3.2#803003)