Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28014

Honor ibm-web-ext.xml context-root

    Details

    • Similar Issues:

      Description

      When deploying a WAR file the plugin packages it into an EAR. In order to do so it also creates an application.xml file with the module details.

      One detail is the context-root of the application which is currenltly the WAR file name.
      This poses problems for instance when building WAR with Maven, since the WAR name will contain the version, which on change will change the context root of the application. This in turn might break other modules or resources depending on the context root.

      I opened a PR on GitHub that closes the issue (https://github.com/jenkinsci/websphere-deployer-plugin/pull/6) by reading the context root specified in the ibm-web-ext.xml file, when present.

        Attachments

          Activity

          Hide
          gpeters Greg Peters added a comment -

          Fixed by Valerio. Well done

          Show
          gpeters Greg Peters added a comment - Fixed by Valerio. Well done

            People

            • Assignee:
              gpeters Greg Peters
              Reporter:
              turboriso Valerio Ponte
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: