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

OFBiz distribution should not require including extra content

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      None
    • Sprint:
      OFBiz Community Day (Aug 2019)

      Description

      Currently to deploy OFBiz it is necessary to include the source directories containing xml and groovy files in addition of ofbiz.jar, because loading of those files is not done using the standard location independent resource mechanism of Java.

      To facilitate the deployment on production servers, the following configuration is added in build.gradle

      distributions.main.contents.from(rootDir) {
          include 'framework/**', 'applications/**', 'themes/**', 'plugins/**'
      }
      

      However this doesn't solve the problem that OFBiz is not usable as a library downloaded from a Jar repository. The proper solution would be to remove any dependencies on OFBiz home directory and bundle every resource in ofbiz.jar

      This has been discussed on Development mailing list

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mthl Mathieu Lirzin
                Reporter:
                mthl Mathieu Lirzin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: