ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brohl (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OFBIZ-10253) Pass JVM options to OFBiz when using Gradle
Date Fri, 09 Mar 2018 21:00:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-10253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Michael Brohl closed OFBIZ-10253.
       Resolution: Implemented
    Fix Version/s: Trunk

This is implemented in

trunk r1826374

release17.12 r1826377

release16.11 r1826378

I considered this a loss of function compared to the pre-gradle releases hence the backports.

> Pass JVM options to OFBiz when using Gradle
> -------------------------------------------
>                 Key: OFBIZ-10253
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10253
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: Gradle
>    Affects Versions: Trunk
>            Reporter: Michael Brohl
>            Assignee: Michael Brohl
>            Priority: Minor
>             Fix For: 17.12.01, 16.11.05, Trunk
>         Attachments: OFBIZ-10253_pass_jvm_opts.patch
> In the current setup of Gradle, it is not possible to pass parameters to the OFBIZ JVM.
Possible parameters are passed to the Gradle wrapper but not to OFBiz.
> OFBiz only gets the hard coded jvmArguments list defined in the build file.
> I suggest to do a simple imporvement to the build.gradle file. If you pass e.g.
> {code:java}
> -PjvmArgs="-Xms1024M -Xmx2048M"{code}
> these parameters are passed to OFBiz, else the current default is passed.
> I'll provide a patch for it.
> What do you think?

This message was sent by Atlassian JIRA

View raw message