Re: Ongoing effort to package JOSM

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

 



On Sun, Aug 9, 2009 at 3:53 AM, Jerry James<loganjerry@xxxxxxxxx> wrote:
> 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).

If I do that I get:

[...]
test:
    [junit] WARNING: multiple versions of ant detected in path for junit
    [junit]
jar:file:/usr/share/java/ant-1.7.1.jar!/org/apache/tools/ant/Project.class
    [junit]      and
jar:file:/usr/share/java/ant.jar!/org/apache/tools/ant/Project.class
    [junit] Running com.drew.metadata.test.AllTests
    [junit] Tests run: 79, Failures: 1, Errors: 0, Time elapsed: 0,269 sec

BUILD FAILED
/home/andrea/devel/prg/metadata-extractor/build.xml:48: Test
com.drew.metadata.test.AllTests failed

Total time: 1 second

Regards,

Andrea.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux