Add -Dnoget=true as default parameter to ant in eant()
authorVlastimil Babka <caster@gentoo.org>
Wed, 20 Dec 2006 22:45:18 +0000 (22:45 +0000)
committerVlastimil Babka <caster@gentoo.org>
Wed, 20 Dec 2006 22:45:18 +0000 (22:45 +0000)
eclass/java-utils-2.eclass

index b51d24cecb91c2c59ab4557ed789e721659b7695..a1f3425b8ebafceb98c83da248a6d2ad44c9903b 100644 (file)
@@ -6,7 +6,7 @@
 #
 # Licensed under the GNU General Public License, v2
 #
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.35 2006/12/17 14:48:33 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.36 2006/12/20 22:45:18 caster Exp $
 
 
 # -----------------------------------------------------------------------------
@@ -1341,7 +1341,7 @@ eant() {
 #                      "Using eant, but not depending on dev-java/ant or dev-java/ant-core"
 #      fi
 
-       local antflags
+       local antflags="-Dnoget=true"
        java-pkg_init-compiler_
        local compiler="${GENTOO_COMPILER}"
 
@@ -1353,7 +1353,7 @@ eant() {
        fi
 
        if [[ ${compiler} != "javac" ]]; then
-               antflags="-Dbuild.compiler=${build_compiler}"
+               antflags="${antflags} -Dbuild.compiler=${build_compiler}"
                # Figure out any extra stuff to put on the classpath for compilers aside
                # from javac
                # ANT_BUILD_COMPILER_DEPS should be something that could be passed to