public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: Henrique Ferreiro <henrique.ferreiro@gmail.com>
To: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java]  Re: problems compiling junit
Date: Thu, 13 Apr 2006 16:07:09 +0200	[thread overview]
Message-ID: <1144937229.26742.15.camel@localhost> (raw)
In-Reply-To: <443E3EA6.4040709@severinsson.net>

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@gentoo.org mailing list



  reply	other threads:[~2006-04-13 13:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-12 12:09 [gentoo-java] problems compiling junit Henrique Ferreiro
2006-04-12 11:36 ` [gentoo-java] " Wiktor Wandachowicz
2006-04-12 12:53   ` Henrique Ferreiro
2006-04-12 12:21     ` Wiktor Wandachowicz
2006-04-13  0:58       ` Henrique Ferreiro
2006-04-13  4:38         ` Joshua Nichols
2006-04-13  6:03           ` Jon Severinsson
2006-04-13 12:06             ` Henrique Ferreiro
2006-04-13 11:34               ` Jon Severinsson
     [not found]                 ` <1144932831.26742.8.camel@localhost>
2006-04-13 12:05                   ` Jon Severinsson
2006-04-13 14:07                     ` Henrique Ferreiro [this message]
2006-04-13 14:09                     ` Henrique Ferreiro
2006-04-14  1:29                       ` Joshua Nichols
2006-04-14 15:24                         ` Henrique Ferreiro
2006-04-14 14:47                           ` Joshua Nichols
2006-04-14 21:19                         ` Wiktor Wandachowicz
2006-04-12 11:51 ` Wiktor Wandachowicz
2006-04-12 13:25   ` Joshua Nichols

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1144937229.26742.15.camel@localhost \
    --to=henrique.ferreiro@gmail.com \
    --cc=gentoo-java@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox