summaryrefslogtreecommitdiff
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
commit1394e4cca0013d7e0bd1c7d5c48f0ef6a1de9139 (patch)
treef822294271219c2054e300adab9379ba2df5638d /eclass/java-utils-2.eclass
parentAdd init.d and conf.d files (diff)
downloadhistorical-1394e4cca0013d7e0bd1c7d5c48f0ef6a1de9139.tar.gz
historical-1394e4cca0013d7e0bd1c7d5c48f0ef6a1de9139.tar.bz2
historical-1394e4cca0013d7e0bd1c7d5c48f0ef6a1de9139.zip
Make -Dbuild.sysclasspath=ignore mandatory in eant(). Bug #142538.
Diffstat (limited to 'eclass/java-utils-2.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