Ongoing effort to package JOSM

Jerry James loganjerry at gmail.com
Sun Aug 9 01:53:44 UTC 2009


On Sat, Aug 8, 2009 at 7:45 AM, Andrea Musuruane <musuruan at gmail.com> 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/




More information about the fedora-devel-list mailing list