ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10866) Use the ‘application’ and ‘distribution’ plugins
Date Sun, 17 Mar 2019 17:34:00 GMT

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

Jacques Le Roux commented on OFBIZ-10866:
-----------------------------------------

Thanks Mathieu,

Each time we build from a clean state it takes 20 sec to create both archives on my machine.
Since we mostly build from a previous build state, I think it's OK. It also puts 1/2 GB+ of
data on the disk which are most of the time not needed. It's not an issue with me, but maybe
we could create the archives only when we want, ie using distZip or/and distTar? 

Yes wrong C/P with my patch, removed :) Anyway was only the 2 lines I added just below {{distributions.main.contents.from(rootDir)}}.

> Use the ‘application’ and ‘distribution’ plugins
> ------------------------------------------------
>
>                 Key: OFBIZ-10866
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10866
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Mathieu Lirzin
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10866_Use-the-application-and-distribution-plugin.patch
>
>
> Gradle provides some useful standard plugins for launching and packaging applications
via the the {{application}} and {{distribution}} plugins.
>  * The [{{application}} plugin|https://docs.gradle.org/current/userguide/application_plugin.html]
provides a {{run}} task which is an alternative to the rule based generated run tasks.  Arbitrary
command line arguments can be passed to OFBiz via the {{--args}} option.
>  * The [{{distribution}} plugin|https://docs.gradle.org/current/userguide/distribution_plugin.html]
is complementing the {{application}} plugin by providing a straightforward and easy way to
distribute OFBiz with its dependencies which is convenient in a deployment context.  After
extracting the distribution archive, OFBiz can then be launched via a robust shell or batch
script.
> The default targets must be been refined to not build the distribution archives which
can be a bit long in the context of OFBiz where we have a lot of dependencies.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message