Uploaded image for project: 'Cactus'
  1. Cactus
  2. CACTUS-209

Duplication context not allowed for ear integration testing

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: Maven Integration
    • Labels:
      None

      Description

      When application.xml is generated for an EAR project. The Cactus web application's context root is the same as the web application's context root. This is not allowed. Therefore I suggest the following chanage:

      <x:element name="application">

      <x:element name="display-name">${pom.name} for Cactus</x:element>

      <!-- cactus war file -->

      <x:element name="module">

      <x:element name="web">

      <x:element name="web-uri">${cactus.war.name}</x:element>

      <x:element name="context-root">${cactus.war.context.root}</x:element>

      </x:element>

      </x:element>

      The user can define cactus.war.context.root but it may default to 'cactus'

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thomas.vdvelde Thomas Van de Velde
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: