summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-01-21 19:30:26 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-01-21 19:30:26 +0000
commit64c59a4d0b7cbdc692a84ec2c1181abaa347cbc0 (patch)
tree7145792156cf0cc75019c34106b991576794dda0 /eclass/java-pkg-2.eclass
parentNew dep for Perl-Critic (diff)
downloadhistorical-64c59a4d0b7cbdc692a84ec2c1181abaa347cbc0.tar.gz
historical-64c59a4d0b7cbdc692a84ec2c1181abaa347cbc0.tar.bz2
historical-64c59a4d0b7cbdc692a84ec2c1181abaa347cbc0.zip
Pass paramaters on to eant in the default src_compile.
Diffstat (limited to 'eclass/java-pkg-2.eclass')
-rw-r--r--eclass/java-pkg-2.eclass5
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