On Sat, Aug 8, 2009 at 7:45 AM, Andrea Musuruane <musuruan@xxxxxxxxx> wrote: > ---8<---8<---8<---8<---8<---8<---8<---8<---8<--- > [...] > test: > > BUILD FAILED > /home/andrea/devel/prg/metadata-extractor/build.xml:48: 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/andrea/.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 > ---8<---8<---8<---8<---8<---8<---8<---8<---8<--- You need to BuildRequires ant-junit to get the necessary jar (namely, %{_javadir}/ant/ant-junit.jar). -- Jerry James http://www.jamezone.org/ -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list