public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: Hanno Meyer-Thurow <h.mth@web.de>
To: "Maxym V. Dilay" <admin@dproject.org.ua>
Cc: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] Problem with compiling www-servers/resin with gcj
Date: Sat, 2 Sep 2006 18:27:16 +0200	[thread overview]
Message-ID: <20060902182716.80778ccb.h.mth@web.de> (raw)
In-Reply-To: <44F99A31.3070203@dproject.org.ua>

On Sat, 02 Sep 2006 17:50:25 +0300
"Maxym V. Dilay" <admin@dproject.org.ua> 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



      parent reply	other threads:[~2006-09-02 16:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02 13:37 [gentoo-java] Problem with compiling www-servers/resin with gcj Maxym V. Dilay
2006-09-02 14:00 ` Hanno Meyer-Thurow
2006-09-02 14:50   ` Maxym V. Dilay
2006-09-02 15:18     ` Jon Severinsson
2006-09-02 15:30     ` Hanno Meyer-Thurow
2006-09-02 16:27     ` Hanno Meyer-Thurow [this message]

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=20060902182716.80778ccb.h.mth@web.de \
    --to=h.mth@web.de \
    --cc=admin@dproject.org.ua \
    --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