2009/8/10 Jerry James <[email protected]> > On Sun, Aug 9, 2009 at 2:05 AM, Andrea Musuruane<[email protected]> > wrote: > > 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. > > /usr/share/java/ant.jar is a symlink to /usr/share/java/ant-1.7.1.jar, > so it is finding the same jar file twice. I don't know what to tell > you to do now. You'll have to figure out how to make it not look at > one or the other of the two names.
That's just a warning, the error is due to bad coding in the test themselves; a workaround can be to let ant pass a "correct" locale to the jvm task, see the bug page for more details > > -- > Jerry James > http://www.jamezone.org/ > > -- > fedora-devel-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/fedora-devel-list > -- Guido Grazioli <[email protected]> Via Parri 11 48011 - Alfonsine (RA) Mobile: +39 347 1017202 (10-18) Key FP = 7040 F398 0DED A737 7337 DAE1 12DC A698 5E81 2278 Linked in: http://www.linkedin.com/in/guidograzioli
-- fedora-devel-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-devel-list
