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

Introduce the notion of "id/idref" in the Cargo Ant tasks

    Details

    • Type: Improvement
    • Status: Closed (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 0.3
    • Fix versions: 0.4
    • Components: None
    • Labels:
      None

      Description

      I think it would make sense to refactor the Cargo Ant tasks in the following
      way:

      <cargo-tomcat5x id="tomcat5x" log="..." homedir="..." ...>
      <zipurlinstaller .../>
      </cargo-tomcat5x>

      <cargo-tomcat5x idref="tomcat5x" action="start">
      <war .../>
      </cargo-tomcat5x>

      <cargo-tomcat5x idref="tomcat5x" action="stop"/>

      Explanations:

      1/ Notice the new "id/idref" attributes which is there to identify a Container instance.
      2/ using this id, the user does not need any longer to redefine all the attributes when he wishes to stop the container.
      3/ Any attribute redefined when using refid will override the default ones.

        Attachments

          Activity

            People

            • Assignee:
              vincentmassol Vincent Massol (Inactive)
              Reporter:
              vincentmassol Vincent Massol (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: