[
https://issues.apache.org/jira/browse/OFBIZ-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799674#comment-16799674
]
Mathieu Lirzin commented on OFBIZ-10866:
----------------------------------------
Hello Taher,
The distribution feature is far more important to me than recommending the
{{run}} task since it empowers people deploying OFBiz in production. The main
reason I am giving up is that I don't want a discussion on syntax to block the
patch which is not about syntax.
{quote}Anyway, it seems what you are trying to achieve in this Jira is directly
affecting the user experience and the way people are used to controlling the
system. So perhaps a community discussion must precede any changes that happen
here because it seems to be a big change to me.
{quote}
I agree that a change in the command line UI would need a community discussion,
however I have other priorities. :)
{quote}Furthermore, Debugging is super important with all the possible values,
so ofbizDebug needs to be satisfied, the running task does not accommodate for
that if I'm not mistaken. So this needs to be something to look into.
{quote}
There is the {{--debug-jvm}} gradle option which already achieves the same
thing as {{ofbizDebug}} on {{trunk}} just try {{./gradlew ofbiz --debug-jvm}}.
The only thing that is not supported by Gradle OOTB is running OFBiz in the
background like {{ofbizBackground}}.
Thanks for your feedback.
> 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)