diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-21 19:30:26 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-21 19:30:26 +0000 |
commit | 2195067784e5de97ecaa4f8741b56f61c9ab5179 (patch) | |
tree | d4ddc2e63afbd91bdd24c65b9229a598e137dccf /eclass | |
parent | New dep for Perl-Critic (diff) | |
download | gentoo-2-2195067784e5de97ecaa4f8741b56f61c9ab5179.tar.gz gentoo-2-2195067784e5de97ecaa4f8741b56f61c9ab5179.tar.bz2 gentoo-2-2195067784e5de97ecaa4f8741b56f61c9ab5179.zip |
Pass paramaters on to eant in the default src_compile.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/java-pkg-2.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass index 30d090d66282..2c054f67c204 100644 --- a/eclass/java-pkg-2.eclass +++ b/eclass/java-pkg-2.eclass @@ -5,7 +5,7 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.14 2007/01/16 21:14:38 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.15 2007/01/21 19:30:26 betelgeuse Exp $ inherit java-utils-2 @@ -69,6 +69,7 @@ java-pkg-2_pkg_setup() { # java-utils-2.eclass) # EANT_GENTOO_CLASSPATH - @see eant documention in java-utils-2.eclass # EANT_EXTRA_ARGUMENTS - extra arguments to pass to eant +# param: Parameters are passed to ant verbatim # ------------------------------------------------------------------------------ java-pkg-2_src_compile() { if [[ -e "${EANT_BUILD_XML:=build.xml}" ]]; then @@ -77,7 +78,7 @@ java-pkg-2_src_compile() { local antflags="${EANT_BUILD_TARGET:=jar}" hasq doc ${IUSE} && antflags="${antflags} $(use_doc ${EANT_DOC_TARGET})" - eant ${antflags} -f "${EANT_BUILD_XML}" ${EANT_EXTRA_ARGUMENTS} + eant ${antflags} -f "${EANT_BUILD_XML}" ${EANT_EXTRA_ARGUMENTS} "${@}" else echo "${FUNCNAME}: No build.xml found so nothing to do." fi |