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

OFBiz distribution should not require including extra content

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mthl Mathieu Lirzin (Inactive)

            Dates

              Created:
              Updated:

              Agile

                Completed Sprint:
                OFBiz Community Day (Aug 2019) ended 06/Sep/19
                View on Board

                Slack

                  Issue deployment