It's just a warning, so hopefully isn't an issue. It's possible that adding

includeantruntime="false"

to the <junit> tasks may help this, altho the combination of junit and forking might gum up the works.

I'd expect most people see this.

On 06/04/2016 09:46 PM, Mahdi Mohammadi wrote:
Output of `ant test` for each test suit contains this warning:

*test:*
*    [mkdir] Created dir: /Users/mahdi/box/cassandra/build/test/cassandra*
*    [mkdir] Created dir: /Users/mahdi/box/cassandra/build/test/output*
*    [junit] WARNING: multiple versions of ant detected in path for junit *
*    [junit]
  
jar:file:/usr/local/Cellar/ant/1.9.6/libexec/lib/ant.jar!/org/apache/tools/ant/Project.class*
*    [junit]      and
jar:file:/Users/mahdi/box/cassandra/build/lib/jars/ant-1.9.4.jar!/org/apache/tools/ant/Project.class*

How can I fix this warning?

Best Regards


Reply via email to