Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12606

Introduce an environment variable for the configuration of the office server

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 7.3-milestone-1
    • 7.2
    • Office
    • None
    • Unknown

    Description

      Problem:

      • on our CI infrastructure, we have LibreOffice installed in /opt/libreoffice3.6, which is not a standard path
      • JODConverter do not look for the office server at this location
      • So our functional tests do not work.
      • We cannot change xwiki.properties during the execution of the tests because the tests are supposed to work in any environment, not only our CI.
      • This problem can probably be reproduced on other systems.

      Solution:

      • Introduce an environment variable called XWIKI_OFFICE_HOME.
      • Make our office component look at this variable if nothing is set on xwiki.properties.
      • This variable is easy to set on our CI (Jenkins have an option for that).
      • This variable is easy to set for any user who want to execute the integration tests, without touching their system.

      Attachments

        Activity

          People

            gdelhumeau Guillaume Delhumeau
            gdelhumeau Guillaume Delhumeau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: