summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-20 16:13:46 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-20 16:13:46 +0000
commit082fc205e322886e23a5e33d014455bd1cf709b7 (patch)
treefed4b31039b7f3d6d24bfbd9d9cec3c5185b610c /eclass/java-utils-2.eclass
parentMaintainer needed... (diff)
downloadhistorical-082fc205e322886e23a5e33d014455bd1cf709b7.tar.gz
historical-082fc205e322886e23a5e33d014455bd1cf709b7.tar.bz2
historical-082fc205e322886e23a5e33d014455bd1cf709b7.zip
Use the full deptree with EANT_GENTOO_CLASSPATH when in src_test.
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r--eclass/java-utils-2.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index a5a0130d8806..c31a64182bb4 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -6,7 +6,7 @@
#
# Licensed under the GNU General Public License, v2
#
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.74 2007/04/20 15:23:28 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.75 2007/04/20 16:13:46 betelgeuse Exp $
# -----------------------------------------------------------------------------
@@ -1717,12 +1717,13 @@ eant() {
if [[ ${EBUILD_PHASE} = "test" ]]; then
antflags="${antflags} -DJunit.present=true"
[[ ${gcp} && ${ANT_TASKS} = *ant-junit* ]] && gcp="${gcp} junit"
+ local getjarsarg="--with-dependencies"
fi
local cp
for atom in ${gcp}; do
- cp="${cp}:$(java-pkg_getjars ${atom})"
+ cp="${cp}:$(java-pkg_getjars ${getjarsarg} ${atom})"
done
if [[ ${cp} ]]; then
@@ -1731,9 +1732,8 @@ eant() {
fi
[[ -n ${JAVA_PKG_DEBUG} ]] && echo ant ${antflags} "${@}"
- debug-print "Calling ant: ${antflags} ${@}"
+ debug-print "Calling ant (GENTOO_VM: ${GENTOO_VM}): ${antflags} ${@}"
ant ${antflags} "${@}" || die "eant failed"
-
}
# ------------------------------------------------------------------------------