[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Ongoing effort to package JOSM



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]