You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (JIRA)" <ji...@apache.org> on 2018/11/30 08:40:00 UTC

[jira] [Updated] (CASSANDRA-14915) Handle ant-optional dependency

     [ https://issues.apache.org/jira/browse/CASSANDRA-14915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Eriksson updated CASSANDRA-14915:
----------------------------------------
    Fix Version/s: 4.x
                   3.11.x
                   3.0.x
           Status: Patch Available  (was: Open)

patch: https://github.com/krummas/cassandra/commits/marcuse/junit
tests: https://circleci.com/workflow-run/85f433df-51f5-4b93-9c56-38788064041e

this will allow users to build cassandra without ant-optional

[~jmeredithco] do you have time to review? (you made some changes to build.xml lately so figure you would be a good candidate)

> Handle ant-optional dependency
> ------------------------------
>
>                 Key: CASSANDRA-14915
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14915
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Major
>             Fix For: 3.0.x, 3.11.x, 4.x
>
>
> 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;
> {code:java}
> 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]
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org