Cactus
  1. Cactus
  2. CACTUS-246

Jakarta Cactus 1.7.2 won't work with Apache ANT 1.7.0.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.8
    • Component/s: Ant Integration
    • Labels:
      None
    • Environment:
      - Win XP
      - Apache ANT 1.7.0Beta3
      - JDK 1.5

      Description

      Doing a quick test with Jakarta Cactus 1.7.2 on the latest beta release of Apache ANT 1.7.0 revealed the following
      error message in Cactus:

      java.lang.NoSuchMethodError: org.apache.cactus.integration.ant.CactusTask.addClasspathEntry(Ljava/lang/String;)V

      Reason: in ant-junit.jar the signature of the method 'addClasspathEntry' of the class JUnitTask has been modified between ANT 1.6.5 and ANT 1.7.0:

      ANT 1.6.5:

      protected void addClasspathEntry(String resource)

      ANT 1.7.0:

      protected boolean addClasspathEntry(String resource)

      1. cactuspatch.txt
        0.6 kB
        Ken
      2. build-246.patch
        1 kB
        Petar Tahchiev

        Activity

        Davy Toch created issue -
        Petar Tahchiev made changes -
        Field Original Value New Value
        Attachment build-246.patch [ 12347708 ]
        valacm made changes -
        Comment [ Hi,
        I have little problem applying this patch.
        Can you pls help me and write step by step guide, how to apply it?
        Thank you ]
        Ken made changes -
        Attachment cactuspatch.txt [ 12375894 ]
        Ken made changes -
        Attachment cactuspatch.txt [ 12375894 ]
        Ken made changes -
        Attachment cactuspatch.txt [ 12375895 ]
        Petar Tahchiev made changes -
        Assignee Petar Tahchiev [ paranoiabla ]
        Petar Tahchiev made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 1.8 [ 12310167 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Petar Tahchiev made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Petar Tahchiev
            Reporter:
            Davy Toch
          • Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development