Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10253

Pass JVM options to OFBiz when using Gradle

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk, 17.12.01, 16.11.05
    • Component/s: Gradle
    • Labels:
      None

      Description

      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.

      -PjvmArgs="-Xms1024M -Xmx2048M"

      these parameters are passed to OFBiz, else the current default is passed.

      I'll provide a patch for it.

      What do you think?

        Attachments

          Activity

            People

            • Assignee:
              mbrohl Michael Brohl
              Reporter:
              mbrohl Michael Brohl
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: