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

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

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

Nicolas Malin (Jira)

    [ 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:49 PM:
-----------------------------------------------------

In /ofbiz/build.gradle, I added Taher's suggestion in the 'dependencies' block
{code}
dependencies {
    ...
    compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
    ...
}
{code}
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
{{monospaced}}
dependencies {
    ...
    compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
    ...
}
{{monospaced}}
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)