Uploaded image for project: 'Codehaus Cargo'
  1. Codehaus Cargo
  2. CARGO-917

Update documentation for "merge.xml" in uberwar goal

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      My merge file is like this

      <?xml version="1.0" encoding="UTF-8"?>
      <uberwar>
      <wars>
      <war>com.tty.tragid:Tragid</war>
      <war>QuartersUI:QuartersUI</war>
      </wars>
      <webXml>
      <contextParams>
      <strategy name="ChooseByName">
      <default>
      <strategy name="Preserve"/>
      </default>
      <choice name="contextConfigLocation">
      <strategy name="NodeMerge">
      <context-param>
      <param-name>$left:/param-name</param-name>
      <param-value>$left:/param-value, $right:/param-value</param-value>
      </context-param>
      </strategy>
      </choice>
      </strategy>
      </contextParams>
      </webXml>
      </uberwar>
      

      I had a look at the source code and it seems to me that webXML node doesnt get processed at all, because the processing is happening in doMerge(...) which happens only for <merges/> nodes.

      Is this a known issue? I am stuck with this issue and cannot use the uberwar goal because of this reason.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              There are no comments yet on this issue.

                People

                • Assignee:
                  antonkhitrenovich Anton Khitrenovich
                  Reporter:
                  vaishakhnadgir Vaishakh Nadgir
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: