Allow container-specific deployables to be used when deploying an artifact.

XMLWordPrintable

    • Type: Patch
    • Resolution: Fixed
    • Priority: Major
    • Component/s: deploy-plugin
    • None
    • Environment:
      Platform: All, OS: All

      The deploy(...) method of CargoContainerAdapter by default creates a new WAR
      object that is passed to the redeploy(Deployable) method in the Cargo Deployer
      class. In many cases this is acceptable. However, this leads a person to
      override the entire method just to replace how the Deployable object is created,
      which results in duplication of code.
      Instead, creating the WAR should be extracted into it's own method that can be
      overridden as necessary.
      The patch being submitted makes the suggested changes as well as makes a change
      in TomcatAdapter to take advantage of this. The TomcatWAR class is a subclass
      of WAR that allows for some handling of WAR files that is specific to Tomcat.

            Assignee:
            Unassigned
            Reporter:
            topher1120
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: