[ 
https://issues.apache.org/jira/browse/CASSANDRA-14915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705253#comment-16705253
 ] 

Jon Meredith commented on CASSANDRA-14915:
------------------------------------------

Gave Ubuntu 16.04 a go - if you don't have {{ant-optionals}} installed the 
patch allows the {{ant build}} command to succeed, however the tests still 
won't run without {{ant-optionals}} installed as that contains the junit 
integration. 

Anyway, patch works as advertised (lowering the test timeout still triggers 
stack traces) - however I'm not sure why somebody would want to run without 
ant-junit available.

+1

> Handle ant-optional dependency
> ------------------------------
>
>                 Key: CASSANDRA-14915
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14915
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Build
>            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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to