public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Vlastimil Babka (caster)" <caster@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: java-utils-2.eclass
Date: Mon, 29 Dec 2008 00:16:40 +0000	[thread overview]
Message-ID: <E1LH5oG-0005Dw-Du@stork.gentoo.org> (raw)

caster      08/12/29 00:16:40

  Modified:             java-utils-2.eclass
  Log:
  Add EANT_NEEDS_TOOLS variable for adding tools.jar to gentoo.classpath, bug #231673 by James Le Cuirot <chewi@aura-online.co.uk>.

Revision  Changes    Path
1.120                eclass/java-utils-2.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-utils-2.eclass?rev=1.120&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-utils-2.eclass?rev=1.120&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-utils-2.eclass?r1=1.119&r2=1.120

Index: java-utils-2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -r1.119 -r1.120
--- java-utils-2.eclass	20 Dec 2008 19:25:29 -0000	1.119
+++ java-utils-2.eclass	29 Dec 2008 00:16:40 -0000	1.120
@@ -6,7 +6,7 @@
 #
 # Licensed under the GNU General Public License, v2
 #
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.119 2008/12/20 19:25:29 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.120 2008/12/29 00:16:40 caster Exp $
 
 # -----------------------------------------------------------------------------
 # @eclass-begin
@@ -1838,6 +1838,9 @@
 # EANT_GENTOO_CLASSPATH - calls java-pkg_getjars for the value and adds to the
 #                         gentoo.classpath property. Be sure to call
 #                         java-ant_rewrite-classpath in src_unpack.
+# EANT_NEEDS_TOOLS - add tools.jar to the gentoo.classpath. Should only be used
+#                    for build-time purposes, the dependency is not recorded to
+#                    package.env!
 # JAVA_PKG_NO_BUNDLED_SEARCH - Don't search for bundled jars or class files
 # *ANT_TASKS - used to determine ANT_TASKS before calling Ant.
 # ------------------------------------------------------------------------------
@@ -1942,6 +1945,8 @@
 		cp="${cp}:$(java-pkg_getjars ${getjarsarg} ${atom})"
 	done
 
+	[[ -n "${EANT_NEEDS_TOOLS}" ]] && cp="${cp}:$(java-config --tools)"
+
 	if [[ ${cp} ]]; then
 		# It seems ant does not like single quotes around ${cp}
 		cp=${cp#:}






             reply	other threads:[~2008-12-29  0:16 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-29  0:16 Vlastimil Babka (caster) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-29 14:05 [gentoo-commits] gentoo-x86 commit in eclass: java-utils-2.eclass Vlastimil Babka (caster)
2011-10-29 13:17 Vlastimil Babka (caster)
2011-10-02  8:10 Serkan Kaba (serkan)
2011-10-02  7:38 Serkan Kaba (serkan)
2011-09-10 14:32 Serkan Kaba (serkan)
2011-04-07 18:05 Serkan Kaba (serkan)
2011-03-26  0:43 Serkan Kaba (serkan)
2011-03-23 19:32 Serkan Kaba (serkan)
2011-03-15 19:54 Serkan Kaba (serkan)
2011-03-15 19:53 Serkan Kaba (serkan)
2010-04-28 19:40 Vlastimil Babka (caster)
2010-04-01 22:29 Vlastimil Babka (caster)
2010-03-24 12:11 Petteri Raty (betelgeuse)
2010-01-17 12:53 Petteri Raty (betelgeuse)
2009-06-07  8:22 Alistair Bush (ali_bush)
2009-06-02  7:02 Alistair Bush (ali_bush)
2009-05-19 21:23 Vlastimil Babka (caster)
2009-03-31 19:19 Petteri Raty (betelgeuse)
2009-03-27 20:58 Petteri Raty (betelgeuse)
2009-03-27 19:40 Petteri Raty (betelgeuse)
2009-03-27 18:52 Petteri Raty (betelgeuse)
2008-12-20 19:25 Petteri Raty (betelgeuse)
2008-11-09  0:12 Vlastimil Babka (caster)
2008-10-10 20:11 Petteri Raty (betelgeuse)
2008-07-22 21:27 Petteri Raty (betelgeuse)
2008-07-19  9:24 Torsten Veller (tove)
2008-07-09 21:16 Petteri Raty (betelgeuse)
2008-05-03 21:28 Petteri Raty (betelgeuse)
2008-05-03 21:28 Petteri Raty (betelgeuse)
2008-03-26 23:00 Alistair Bush (ali_bush)
2008-03-03 17:55 Petteri Raty (betelgeuse)
2008-01-12 15:04 Vlastimil Babka (caster)
2008-01-12 15:03 Vlastimil Babka (caster)
2007-11-28  2:03 Petteri Raty (betelgeuse)
2007-11-28  1:54 Petteri Raty (betelgeuse)
2007-11-26 21:00 Petteri Raty (betelgeuse)
2007-11-26 20:38 Petteri Raty (betelgeuse)
2007-11-25  7:51 Vlastimil Babka (caster)
2007-09-27 19:47 Petteri Raty (betelgeuse)

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=E1LH5oG-0005Dw-Du@stork.gentoo.org \
    --to=caster@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@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