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. build-246.patch
        1 kB
        Petar Tahchiev
      2. cactuspatch.txt
        0.6 kB
        Ken

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development