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

Pass JVM options to OFBiz when using Gradle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • Trunk
    • 16.11.05, 17.12.01, Trunk
    • Gradle
    • 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

        1. OFBIZ-10253_pass_jvm_opts.patch
          1 kB
          Michael Brohl

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: