Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-914

Servlet protocol should relocate ejb-jar.xml if necessary when generating a web archive

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Minor
    • None
    • 1.0.0.Final
    • None
    • None

    Description

      If the test archive is an EJB JAR (a JavaArchive that has a META-INF/ejb-jar.xml file), the protocol deployment packager should relocate the ejb-jar to the WEB-INF directory of the web archive it generates. Otherwise, the ejb-jar.xml file is not processed.

      Here's an example test case:

      https://github.com/arquillian/arquillian-showcase/blob/master/ejb/src/test/java/com/acme/ejb/calc/MortgageCalculatorEnvEntryTestCase.java

      If there are other ways to accomplish the same task, feel free to suggest an alternative approach.

      Attachments

        Activity

          People

            dan.j.allen Dan Allen (Inactive)
            dan.j.allen Dan Allen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: