mardi 31 mars 2015

Trouble with ant compiler

Today I am using Fedora 21 and I installed ant compiler, but when I am trying to test, this issue comes.





[mhernandez@localhost practica1]$ ant test
Buildfile: /home/mhernandez/Estructuras de Datos/practica1/build.xml

compile.practica1:

practica1.jar:

test:

BUILD FAILED
/home/mhernandez/Estructuras de Datos/practica1/build.xml:63: 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
-/home/mhernandez/.ant/lib
-a directory added on the command line with the -lib argument

Do not panic, this is a common problem.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem


Total time: 0 seconds



The problem is that I don't know how to put that missing jar in that folder. I already download the .zip from ant.apache.org and I have all the jars, I just want to put them in the correct folder.


Aucun commentaire:

Enregistrer un commentaire