tsmock commented on pull request #175:
URL: https://github.com/apache/ant/pull/175#issuecomment-1023232685


   > @tsmock I experienced the same problem and @jaikiran suggested to fetch 
necessary dependencies by running `ant -f fetch.xml -Ddest=optional` [1]. It 
actually helped me.
   > 
   > [1] https://lists.apache.org/thread/2v8l95fwh0sgz0vlgqcf1rpd88swf3pv
   
   It did not help me. See 
https://github.com/apache/ant/blob/master/build.xml#L1989 . Specifically, when 
I commented that line out, the tests failed due to having JUnit 3.8.2 on the 
class path (see https://github.com/apache/ant/tree/master/lib/optional ). I'm 
actually surprised that JUnit 3 is still supported in ant -- it looks like the 
last release for it was in 2006 or 2007. Junit 4.0 was released around that 
time.)
   
   I was, however, able to run the tests with 
[maven](https://github.com/apache/ant/blob/master/src/etc/poms/ant-junitlauncher/pom.xml)
 (I checked to make certain that all the tests will fail if the expected output 
was not there, as I changed a significant part of the logic in the test).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to