Gentoo Archives: gentoo-java

From: Hanno Meyer-Thurow <h.mth@×××.de>
To: "Maxym V. Dilay" <admin@××××××××××××.ua>
Cc: gentoo-java@l.g.o
Subject: Re: [gentoo-java] Problem with compiling www-servers/resin with gcj
Date: Sat, 02 Sep 2006 16:22:54
Message-Id: 20060902182716.80778ccb.h.mth@web.de
In Reply to: Re: [gentoo-java] Problem with compiling www-servers/resin with gcj by "Maxym V. Dilay"
1 On Sat, 02 Sep 2006 17:50:25 +0300
2 "Maxym V. Dilay" <admin@××××××××××××.ua> wrote:
3
4 > So when is planned to support 1.5? And i find that ecj-3.2 has option
5 > - -source 1.5 -target 1.5. Maybe this can be used for compiling, or no?
6
7 Package dev-java/gnu-classpath-generics has limited (?) 1.5 support.
8
9 You may copy /usr/share/java-config-2/compiler/ecj-3.2 to
10 /usr/share/java-config-2/compiler/ecj15-3.2. Edit the new file:
11
12 -ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter"
13 +ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter -Dsun.boot.class.path=/usr/share/classpath/glibj.zip"
14
15 Then set COMPILERS="ecj15-3.2" in /etc/java-config-2/build/compilers.conf.
16 I guess you can add that to the java wrapper to get JRE 1.5 support.
17
18
19 Regards,
20 Hanno
21 --
22 gentoo-java@g.o mailing list