Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-beta9
    • Component/s: Core
    • Labels:
      None

      Description

      Add a "web" lookup plugin for resolving a webapp's root directory. Investigate whether it can be included in BaseConfiguration's list of hard-wired plugins.

      Motivated by email thread:
      http://mail-archives.apache.org/mod_mbox/logging-log4j-user/201308.mbox/%3cD39A34D2-D584-4DDB-B121-407AA25E2389@criticalpath.net%3e

      1. WebLookup.java
        3 kB
        David Nault

        Activity

        Hide
        David Nault added a comment -

        Attached a draft implementation. It's incomplete – it needs to get the ServletContext from somewhere. I'll defer to the experts regarding where to get the ServletContext from.

        Show
        David Nault added a comment - Attached a draft implementation. It's incomplete – it needs to get the ServletContext from somewhere. I'll defer to the experts regarding where to get the ServletContext from.
        Hide
        Ralph Goers added a comment -

        WebLookup was added in revision 1517403. Please verify and close.

        Show
        Ralph Goers added a comment - WebLookup was added in revision 1517403. Please verify and close.
        Hide
        Gary Gregory added a comment - - edited

        The doc changes (lookups.xml) break PDF generation.

        Show
        Gary Gregory added a comment - - edited The doc changes (lookups.xml) break PDF generation.
        Hide
        Ralph Goers added a comment -

        PDF generation was fixed in revision 1517619.

        Show
        Ralph Goers added a comment - PDF generation was fixed in revision 1517619.

          People

          • Assignee:
            Unassigned
            Reporter:
            David Nault
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development