[jira] [Comment Edited] (OFBIZ-10866) Use the ‘application’ and ‘distribution’ plugins
[ https://issues.apache.org/jira/browse/OFBIZ-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799605#comment-16799605 ] Mathieu Lirzin edited comment on OFBIZ-10866 at 3/23/19 2:36 PM: - Thanks Jacques, I will apply the reduced version of [^OFBIZ-10866_Use-the-application-and-distribution-plugin.patch] and close this ticket next monday since it seems that there is a consensus on that part. I give up on proposing to change the documentation to recommend using the {{run}} task over the {{ofbiz}} rule-based tasks. Regarding renaming the {{gradle}} wrapper {{ofbiz}}, feel free to open a discussion on the ML if you want to propose it to the community. was (Author: mthl): Thanks Jacques, I will apply the reduced version of [^OFBIZ-10866_Use-the-application-and-distribution-plugin.patch] and close this ticket next monday since it seems that there is a consensus on that part. I give up on proposing to change the documentation to recommend using the {{run}} task over the{{ofbiz}} rule-based tasks. Regarding renaming the {{gradle}} wrapper {{ofbiz}}, feel free to open a discussion on the ML if you want to propose it to the community. > 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 packaging applications via > the ‘distribution’ and ‘application’ plugins. > * The ‘distribution’ plugin [1] is providing a straightforward and easy way > to distribute OFBiz with its dependencies which is convenient in a deployment > context. This is achieved by the new ‘distTar’ and ‘distZip’ tasks. > * The ‘application’ plugin [2] is complementing the ‘distribution’ plugin by > adding both a robust shell script and a batch script inside the distribution > archives to allow launching OFBiz easily. > [1] https://docs.gradle.org/current/userguide/distribution_plugin.html > [2] https://docs.gradle.org/current/userguide/application_plugin.html -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (OFBIZ-10866) Use the ‘application’ and ‘distribution’ plugins
[ https://issues.apache.org/jira/browse/OFBIZ-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799125#comment-16799125 ] Mathieu Lirzin edited comment on OFBIZ-10866 at 3/22/19 4:31 PM: - To avoid confusing people anymore I have removed the documentation change regarding the suggestion to use the {{run task}}, so [^OFBIZ-10866_Use-the-application-and-distribution-plugin.patch] is now really just about providing the {{distTar}} and {{distZip}} tasks, nothing more. was (Author: mthl): To avoid confusing people anymore I have removed the documentation change regarding the suggestion to use the {{run}}, so [^OFBIZ-10866_Use-the-application-and-distribution-plugin.patch] is now really just about providing the {{distTar}} and {{distZip}} tasks, nothing more. > 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 packaging applications via > the ‘distribution’ and ‘application’ plugins. > * The ‘distribution’ plugin [1] is providing a straightforward and easy way > to distribute OFBiz with its dependencies which is convenient in a deployment > context. This is achieved by the new ‘distTar’ and ‘distZip’ tasks. > * The ‘application’ plugin [2] is complementing the ‘distribution’ plugin by > adding both a robust shell script and a batch script inside the distribution > archives to allow launching OFBiz easily. > [1] https://docs.gradle.org/current/userguide/distribution_plugin.html > [2] https://docs.gradle.org/current/userguide/application_plugin.html -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (OFBIZ-10866) Use the ‘application’ and ‘distribution’ plugins
[ https://issues.apache.org/jira/browse/OFBIZ-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16798143#comment-16798143 ] Jacques Le Roux edited comment on OFBIZ-10866 at 3/22/19 7:29 AM: -- I have updated [^OFBIZ-10866_Use-the-application-and-distribution-plugin.patch] to add a section in the {{README.adoc}} file about the packaging and distribution of OFBiz. Additionnally I have adapted to the server tasks documentation to use the {{:run}} task instead of the rule based tasks when possible. was (Author: mthl): I have updated [^OFBIZ-10866_Use-the-application-and-distribution-plugin.patch] to add a section in the {{README.md}} file about the packaging and distribution of OFBiz. Additionnally I have adapted to the server tasks documentation to use the {{:run}} task instead of the rule based tasks when possible. > 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)
[jira] [Comment Edited] (OFBIZ-10866) Use the ‘application’ and ‘distribution’ plugins
[ https://issues.apache.org/jira/browse/OFBIZ-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16798019#comment-16798019 ] Mathieu Lirzin edited comment on OFBIZ-10866 at 3/21/19 11:46 AM: -- Hello, I have found a way to make the {{:build}} task not depend on the {{:distTar}} and {{:distZip}} tasks without having to disable those tasks which require packagers to comment a line in the {{build.gradle}} file: {code} assemble.setDependsOn([jar]) {code} I have updated [^OFBIZ-10866_Use-the-application-and-distribution-plugin.patch] accordingly. was (Author: mthl): Hello, I have found a way to make the {{:build}} task not depend on the {{:distTar}} and {{:distZip}} tasks without having to disable those tasks and require packagers to comment a line in the {{build.gradle}} file: {code:groovy} assemble.setDependsOn([jar]) {code} I have updated [^OFBIZ-10866_Use-the-application-and-distribution-plugin.patch] accordingly. > 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)
[jira] [Comment Edited] (OFBIZ-10866) Use the ‘application’ and ‘distribution’ plugins
[ https://issues.apache.org/jira/browse/OFBIZ-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16798019#comment-16798019 ] Mathieu Lirzin edited comment on OFBIZ-10866 at 3/21/19 11:45 AM: -- Hello, I have found a way to make the {{:build}} task not depend on the {{:distTar}} and {{:distZip}} tasks without having to disable those tasks and require packagers to comment a line in the {{build.gradle}} file: {code:groovy} assemble.setDependsOn([jar]) {code} I have updated [^OFBIZ-10866_Use-the-application-and-distribution-plugin.patch] accordingly. was (Author: mthl): Hello, I have found a way to make the {{:build}} task not depend on the {{:distTar}} and {{:distZip}} tasks without having to disable those tasks and require packagers to comment a line in the {{build.gradle}} file: [code:groovy] assemble.setDependsOn([jar]) [code] I have updated [^OFBIZ-10866_Use-the-application-and-distribution-plugin.patch] accordingly. > 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)