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

Make xwiki.cfg accessible without XWiki instance

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.4
    • Fix Version/s: 6.1-milestone-2
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      Description

      Being force to fin a way to access an instance of XWiki class (generally trough XWikiContext) is quite a pain in many cases especially for components. And initializing XWiki instance is totally useless technically when all you want is accessing xwiki.cfg properties.

      So the idea is to implement a xwiki.cfg based (with same behavior than old XWikiConfig class) ConfigurationSource.

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: