public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: Vlastimil Babka <caster@gentoo.org>
To: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] Depending of tools.jar at runtime
Date: Mon, 08 Jan 2007 10:48:02 +0100	[thread overview]
Message-ID: <45A21352.1070901@gentoo.org> (raw)
In-Reply-To: <200701080847.20900.Stephan.Richard@gmx.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephan Palm wrote:
> I'm writing an ebuild, but I could not figure out, how to get 
> $used_vm/lib/tools.jar into the classpath.

You can use "java-config --tools" to get the location (maybe we should
do an eclass function for this). As for the classpath, it depends
whether you are running "java", "javac", or some build.xml through ant.
Java/javac have -cp option for this, ant will find and load tools.jar
itself for its javadoc etc tasks, and if you want to use it in some task
inside build.xml, there's usually classpath attribute of that task's
element, or nested <classpath> element.

- --
Vlastimil Babka (Caster)
Gentoo/Java
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFohNQtbrAj05h3oQRAoqxAJoCHyxPBaP2S20x6zWk41rQTBrhYACbBNDp
VrHxrGccrkmepOCtVqgh/Us=
=6PuK
-----END PGP SIGNATURE-----
-- 
gentoo-java@gentoo.org mailing list



  reply	other threads:[~2007-01-08  9:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-08  7:47 [gentoo-java] Depending of tools.jar at runtime Stephan Palm
2007-01-08  9:48 ` Vlastimil Babka [this message]
2007-01-08 11:19   ` Stephan Palm
2007-01-08 11:49     ` Vlastimil Babka

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=45A21352.1070901@gentoo.org \
    --to=caster@gentoo.org \
    --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