Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-java@g.o
From: Wiktor Wandachowicz <siryes@...>
Subject: Re: problems compiling junit
Date: Fri, 14 Apr 2006 21:19:31 +0000 (UTC)
Joshua Nichols <nichoj@...> writes:

> So what I believe is happening... you have junit installed (and built
> with 1.5), then go to rebuild with 1.4. The ebuild calls ant, which
> pulls in junit compiled with 1.5 onto the classpath. When javac tries to
> resolve junit classes... it's getting them from the 1.5-built junit,
> instead of the junit which is being built. So, the workaround would be
> to unmerge junit before trying to rebuidl it with 1.4.

That's exactly what I did [manually] when I've found that having a 1.5 system
JVM is not healthy... I've listed all packages depending on jdk, unmerged them
and used "emerge -1" to get them back with 1.4 jdk. (It was so long ago that
I almost forgot about that solution: unmerge/emerge. If I remembered better
I'd suggest that to Henrique sooner - anyway, good analysis Joshua!)

Then I've found the axxo-overlay and later the migration-overlay.
The rest is history. :)

Cheers,


-- 
gentoo-java@g.o mailing list


References:
problems compiling junit
-- Henrique Ferreiro
Re: problems compiling junit
-- Wiktor Wandachowicz
Re: Re: problems compiling junit
-- Henrique Ferreiro
Re: problems compiling junit
-- Wiktor Wandachowicz
Re: Re: problems compiling junit
-- Henrique Ferreiro
Re: Re: problems compiling junit
-- Joshua Nichols
Re: Re: problems compiling junit
-- Jon Severinsson
Re: Re: problems compiling junit
-- Henrique Ferreiro
Re: Re: problems compiling junit
-- Jon Severinsson
Re: Re: problems compiling junit
-- Jon Severinsson
Re: Re: problems compiling junit
-- Henrique Ferreiro
Re: Re: problems compiling junit
-- Joshua Nichols
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: problems compiling junit
Next by thread:
Re: problems compiling junit
Previous by date:
updates to java-config-2 and javatoolkit
Next by date:
[chewi] eclipse extensions collisions


Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.