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

OFBiz distribution should not require including extra content

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • framework
    • None
    • 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

              Unassigned Unassigned
              mthl Mathieu Lirzin (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: