Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-136

[CdiControl] cdictrl-owb should only use the Session mocks if the servlet-api is available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1-incubating
    • 0.2-incubating
    • CdiControl
    • None

    Description

      currently cdictrl-owb mandatorily needs the servlet-api on the classpath. But this is in fact only needed if the openwebbeans-web plugin is being used which automatically brings a servlet based cdi lifecycle plugin with it.

      So if we don't have the servlet-api on the ClassPath, we don't need to create any Session and ServletContext mocks at all.

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: