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
commita423f06b9f72375441e9993e295fea1e68b76b5c (patch)
treee47c2136624b8c78e7929758d23474e683e44411
parentMaintainer needed... (diff)
downloadgentoo-2-a423f06b9f72375441e9993e295fea1e68b76b5c.tar.gz
gentoo-2-a423f06b9f72375441e9993e295fea1e68b76b5c.tar.bz2
gentoo-2-a423f06b9f72375441e9993e295fea1e68b76b5c.zip
Use the full deptree with EANT_GENTOO_CLASSPATH when in src_test.
-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"
-
}
# ------------------------------------------------------------------------------