summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-11-25 07:51:41 +0000
committerVlastimil Babka <caster@gentoo.org>2007-11-25 07:51:41 +0000
commit2800f18131a2fff49fdb8bfd009e28f7f641e908 (patch)
treeeeca18bb77a4ccf62783f9b3ae0cc207c1a3184a /eclass
parentAdd init.d and conf.d files (diff)
downloadgentoo-2-2800f18131a2fff49fdb8bfd009e28f7f641e908.tar.gz
gentoo-2-2800f18131a2fff49fdb8bfd009e28f7f641e908.tar.bz2
gentoo-2-2800f18131a2fff49fdb8bfd009e28f7f641e908.zip
Make -Dbuild.sysclasspath=ignore mandatory in eant(). Bug #142538.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-utils-2.eclass9
1 files changed, 2 insertions, 7 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index 4425c1158f0b..fdf7b6be6455 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.95 2007/11/13 19:36:50 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.96 2007/11/25 07:51:41 caster Exp $
# -----------------------------------------------------------------------------
# @eclass-begin
@@ -1850,7 +1850,7 @@ eant() {
java-pkg_announce-qa-violation "${msg}"
fi
- local antflags="-Dnoget=true -Dmaven.mode.offline=true"
+ local antflags="-Dnoget=true -Dmaven.mode.offline=true -Dbuild.sysclasspath=ignore"
java-pkg_init-compiler_
local compiler="${GENTOO_COMPILER}"
@@ -1873,11 +1873,6 @@ eant() {
fi
fi
- if is-java-strict; then
- einfo "Disabling system classpath for ant"
- antflags="${antflags} -Dbuild.sysclasspath=ignore"
- fi
-
for arg in "${@}"; do
if [[ ${arg} = -lib ]]; then
if is-java-strict; then