Uploaded image for project: 'Cactus'
  1. Cactus
  2. CACTUS-246

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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)

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: