Cactus
  1. Cactus
  2. CACTUS-139

cactus:test fails if property maven.war.final.name is redefined

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: Maven Integration
    • Labels:
      None

      Description

      If I redefine the variable maven.war.final.name, maven's goal cactus:test fails.

      The fix is simple: it's just a matter of changing the line:

      <cactifywar version="2.3" destfile="$

      {cactus.war}">

      to:

      <cactifywar version="2.3" destfile="${cactus.war}

      " srcfile="$

      {maven.build.dir}

      /$

      {maven.war.final.name}

      ">

      I will provide a test case and a patch fixing this issue later.

        Activity

        Felipe Leme created issue -
        Hide
        Felipe Leme added a comment -

        Looks like this issue was already fixed by CACTUS-64 (I was using cactus-1.6.1 at work, when I realized the issue).
        I'm providing a test case, anyway (I just realized it was fixed after I wrote the testcases

        Show
        Felipe Leme added a comment - Looks like this issue was already fixed by CACTUS-64 (I was using cactus-1.6.1 at work, when I realized the issue). I'm providing a test case, anyway (I just realized it was fixed after I wrote the testcases
        Felipe Leme made changes -
        Field Original Value New Value
        Attachment CACTUS-139-testcases.patch [ 15059 ]
        Felipe Leme made changes -
        Assignee Felipe Leme [ felipeal ]
        Hide
        Felipe Leme added a comment -

        Added testcases to CVS.

        Show
        Felipe Leme added a comment - Added testcases to CVS.
        Felipe Leme made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 1.7 [ 10693 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        44d 4h 53m 1 Felipe Leme 14/Oct/04 02:47

          People

          • Assignee:
            Felipe Leme
            Reporter:
            Felipe Leme
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development