Yet another Ant + JUnit classpath problem

前端 未结 3 1756
清酒与你
清酒与你 2021-01-13 01:39

I\'m developing an Eclipse SWT application using Eclipse. There are also some JUnit 4 tests, which test some DAO\'s. But when I try to run the tests via an ant build, all of

3条回答
  •  暖寄归人
    2021-01-13 01:49

    I had the same problem 'multiple versions of ant detected in path for junit'. The problem went away when I renamed by Eclipse_Home directory and removed special characters from it. The path had '[1]' in it which was causing the problem.

提交回复
热议问题