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

Add standard method to load external configuration files

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.6 M1
    • 1.5 RC1
    • {Unused} Core
    • None

    Description

      Add com.xpn.xwiki.util.Util#getResourceAsStream(String resource) method.
      It loads resources in this order:
      1. FileSystem
      2. ServletContext
      3. ClassPath

      See http://xwiki.markmail.org/message/l2wz43kluezuxexk

      Attachments

        Activity

          People

            amelentev Artem Melentev
            amelentev Artem Melentev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: