Pessoal,
Quando vou rodar o build do meu projeto (que roda uns testes unitários com a task junit), o Ant está dando o seguinte erro:
/opt/repositorio/coreSupremo/build.xml:155: Problem: failed to create task or type junit
Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask was not found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-/usr/share/ant/lib
-/root/.ant/lib
-a directory added on the command line with the -lib argument
O engraçado é que eu já coloquei todas as libs que vem com o ant dentro da pasta /usr/share/ant/lib, inclusive o ant-junit.jar
A versão do Ant é a 1.7.1 e a versão do JUnit que foram implementados os testes é a 4.8.2.
Alguém tem uma idéia? To achando que deve ter algo a ver com as versões utilizadas.