From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GJYGj-00008f-UW for garchives@archives.gentoo.org; Sat, 02 Sep 2006 16:22:54 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k82GLjuK029822; Sat, 2 Sep 2006 16:21:45 GMT Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k82GLju3000817 for ; Sat, 2 Sep 2006 16:21:45 GMT Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id E47E61A1A260; Sat, 2 Sep 2006 18:21:42 +0200 (CEST) Received: from [84.136.83.120] (helo=anomalie.manna.org) by smtp08.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.107 #114) id 1GJYFa-0006UZ-00; Sat, 02 Sep 2006 18:21:42 +0200 Date: Sat, 2 Sep 2006 18:27:16 +0200 From: Hanno Meyer-Thurow To: "Maxym V. Dilay" Cc: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] Problem with compiling www-servers/resin with gcj Message-Id: <20060902182716.80778ccb.h.mth@web.de> In-Reply-To: <44F99A31.3070203@dproject.org.ua> References: <44F98936.8080006@dproject.org.ua> <20060902160029.f52c9ef4.h.mth@web.de> <44F99A31.3070203@dproject.org.ua> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: h.mth@web.de X-Sender: h.mth@web.de X-Archives-Salt: cb17bd80-17d0-483a-9e38-0b79f6679b96 X-Archives-Hash: 9a8a657785cb1d0ae99ae54477ef5e7e On Sat, 02 Sep 2006 17:50:25 +0300 "Maxym V. Dilay" wrote: > So when is planned to support 1.5? And i find that ecj-3.2 has option > - -source 1.5 -target 1.5. Maybe this can be used for compiling, or no? Package dev-java/gnu-classpath-generics has limited (?) 1.5 support. You may copy /usr/share/java-config-2/compiler/ecj-3.2 to /usr/share/java-config-2/compiler/ecj15-3.2. Edit the new file: -ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter" +ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter -Dsun.boot.class.path=/usr/share/classpath/glibj.zip" Then set COMPILERS="ecj15-3.2" in /etc/java-config-2/build/compilers.conf. I guess you can add that to the java wrapper to get JRE 1.5 support. Regards, Hanno -- gentoo-java@gentoo.org mailing list