Cargo
  1. Cargo
  2. CARGO-478

running mvn cargo:start does not redeploy newer war files

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.3-maven2
    • Fix Version/s: 1.1.0
    • Component/s: Maven2
    • Labels:
      None
    • Environment:
      maven-cargo-plugin-0.3-SNAPSHOT, tomcat-5-5 existing installation
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      steps to reproduce:

      • run mvn cargo:start on a war project with an existing tomcat installation
      • the war file is copied into the tomcat/webapps directory
      • shutdown cargo
      • run mvn install to create new war file (probably make some changes to notice the change)
      • run mvn cargo:start
      • cargo fails to copy the new war file into tomcat and so it's still running the old code.

      The only workaround I know is to always run mvn clean before running cargo.

        Activity

        Hide
        sridhar added a comment -

        hi

        i have problem with the maven2 + tomcat 6.0, can u help. i am facing problem copying the war to tomcat/webapp folder.

        thanks & regards

        Sridhar

        Show
        sridhar added a comment - hi i have problem with the maven2 + tomcat 6.0, can u help. i am facing problem copying the war to tomcat/webapp folder. thanks & regards Sridhar
        Hide
        Savas Ali Tokmen added a comment -

        Targeting version 1.1.0

        Show
        Savas Ali Tokmen added a comment - Targeting version 1.1.0
        Hide
        Savas Ali Tokmen added a comment -

        Committed revision 2818.

        Show
        Savas Ali Tokmen added a comment - Committed revision 2818.

          People

          • Assignee:
            Savas Ali Tokmen
            Reporter:
            Ryan Sonnek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: