Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14915

Handle ant-optional dependency

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.0.18, 3.11.4, 4.0
    • Component/s: Build
    • Labels:
      None
    • Severity:
      Normal

      Description

      CASSANDRA-13117 added a JUnit task which dumps threads on unit test timeout, and it depends on a class in org.apache.tools.ant.taskdefs.optional which seems to not always be present depending on how ant was installed. It can cause this error when building;

      Throws: cassandra-trunk/build.xml:1134: taskdef A class needed by class org.krummas.junit.JStackJUnitTask cannot be found:
      org/apache/tools/ant/taskdefs/optional/junit/JUnitTask  using the classloader
      AntClassLoader[/.../cassandra-trunk/lib/jstackjunit-0.0.1.jar]
      

        Attachments

          Activity

            People

            • Assignee:
              marcuse Marcus Eriksson
              Reporter:
              marcuse Marcus Eriksson
              Authors:
              Marcus Eriksson
              Reviewers:
              Jon Meredith
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: