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

Taher Alkhateeb commented on OFBIZ-10866:
-----------------------------------------

Hi Mathieu,

Don't give up too quickly :) Part of work of being in the community is 
convincing and discussing things.

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.

With that being said, I have a comment regarding what you said about using the 
"generic" vs "specific" way like the rule-based tasks, Please remember that 
OFBiz is not standard in that sense. OFBiz does not deploy like a normal java 
web app (unfortunately) and so many things about the framework do not fall 
within standards.

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.

Finally, I agree with you completely, a very confusing suggestion by Jacques to 
rename gradlew. That would be in effect hiding the fact that you are using a 
very known tool and it confuses the hell out of everyone.

> 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)

Reply via email to