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: Henrique Ferreiro <henrique.ferreiro@...>
Subject: Re: Re: problems compiling junit
Date: Thu, 13 Apr 2006 16:07:09 +0200
O Xov, 13-04-2006 ás 14:05 +0200, Jon Severinsson escribiu:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> >> I did not modify jdk.conf. Every line is commented.
> Then ant-core, as well as junit, should be build with 1.4. Is that the case?
> 
> >> The only dependency of junit (made with java) is ant-core and it is
> >> built with jdk-1.5 with no problems.
> Yes, ant-core can be built with 1.4 or 1.5, but if you build ant-core
> with 1.5 you must build everything depending on ant-core with 1.5 as
> well, and some of those packages can't handle 1.5. That is why ant-core
> should be re-built with 1.4 (if you haven't already done that).
Then if you have not installed ant-core and try to install junit it
cannot as it will be compiled with jdk-1.4 whereas ant-core will be
compiled with jdk-1.5. Should I file a bug?
> 
> >> java-1.5-fixer only tries to rebuild jdbc-mysql and junit and fails with
> >> both of them.
> OK, then it's probably time to file a bug...
> Does it try to build them with 1.4 or 1.5?
With 1.4.
The problem with jdbc-mysql is the same as with junit:
BUILD FAILED
java.lang.UnsupportedClassVersionError: junit/framework/Test
(Unsupported major.minor version 49.0)

> 
> - - Jon
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFEPj6lOOpxqcksWu4RAoB1AJ9VTo/SfxgsWBx6PIWx5L5DoyzY6wCePIxE
> BVIPaod9vfLkfkp/BqaCTCQ=
> =LOtW
> -----END PGP SIGNATURE-----

-- 
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
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: problems compiling junit
Next by thread:
Re: Re: problems compiling junit
Previous by date:
Re: Re: problems compiling junit
Next by date:
Re: Re: problems compiling junit


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.