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

        Hide
        Felipe Leme added a comment -

        Added testcases to CVS.

        Show
        Felipe Leme added a comment - Added testcases to CVS.
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development