You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Wai (JIRA)" <ji...@apache.org> on 2016/08/12 20:48:20 UTC

[jira] [Comment Edited] (OFBIZ-7910) Improve component template(s) to work with the Gradle solution

    [ https://issues.apache.org/jira/browse/OFBIZ-7910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419452#comment-15419452 ] 

Wai edited comment on OFBIZ-7910 at 8/12/16 8:48 PM:
-----------------------------------------------------

In /ofbiz/build.gradle, I added Taher's suggestion in the 'dependencies' block
{{monospaced
dependencies {
    ...
    compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
    ...
}
}}
Then I added the 3rd party in-house jar into /ofbiz/lib.
Ran $ gradle cleanAll build
Now my hot-deploy component compiles ok.





was (Author: wt):
In /ofbiz/build.gradle, I added Taher's suggestion in the 'dependencies' block

dependencies {
    ...
    compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
    ...
}

Then I added the 3rd party in-house jar into /ofbiz/lib.
Ran $ gradle cleanAll build
Now my hot-deploy component compiles ok.




> Improve component template(s) to work with the Gradle solution
> --------------------------------------------------------------
>
>                 Key: OFBIZ-7910
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7910
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>            Reporter: Pierre Smits
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>         Attachments: OFBIZ-7910-Resources-build.gradle.patch
>
>
> Currently the component generated with the createComponent task doesn't have the means to work with the Gradle build solution visavis dependency management.
> The reason for this is that no build.gradle template exists that need to be copied into the new component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)