/[gentoo-x86]/eclass/java-pkg-2.eclass
Gentoo

Diff of /eclass/java-pkg-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.19 Revision 1.20
3# Copyright (c) 2004-2005, Thomas Matthijs <axxo@gentoo.org> 3# Copyright (c) 2004-2005, Thomas Matthijs <axxo@gentoo.org>
4# Copyright (c) 2004-2005, Gentoo Foundation 4# Copyright (c) 2004-2005, Gentoo Foundation
5# 5#
6# Licensed under the GNU General Public License, v2 6# Licensed under the GNU General Public License, v2
7# 7#
8# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.19 2007/01/28 20:04:59 betelgeuse Exp $ 8# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.20 2007/01/28 21:42:24 betelgeuse Exp $
9 9
10inherit java-utils-2 10inherit java-utils-2
11 11
12# ----------------------------------------------------------------------------- 12# -----------------------------------------------------------------------------
13# @eclass-begin 13# @eclass-begin
77 [[ "${EANT_FILTER_COMPILER}" ]] && \ 77 [[ "${EANT_FILTER_COMPILER}" ]] && \
78 java-pkg_filter-compiler ${EANT_FILTER_COMPILER} 78 java-pkg_filter-compiler ${EANT_FILTER_COMPILER}
79 79
80 local antflags="${EANT_BUILD_TARGET:=jar}" 80 local antflags="${EANT_BUILD_TARGET:=jar}"
81 hasq doc ${IUSE} && antflags="${antflags} $(use_doc ${EANT_DOC_TARGET})" 81 hasq doc ${IUSE} && antflags="${antflags} $(use_doc ${EANT_DOC_TARGET})"
82 local tasks
82 ANT_TASKS="${ANT_TASKS} ${EANT_ANT_TASKS}" \ 83 [[ ${EANT_ANT_TASKS} ]] && tasks="${ANT_TASKS} ${EANT_ANT_TASKS}"
84 ANT_TASKS="${tasks}" \
83 eant ${antflags} -f "${EANT_BUILD_XML}" ${EANT_EXTRA_ARGS} "${@}" 85 eant ${antflags} -f "${EANT_BUILD_XML}" ${EANT_EXTRA_ARGS} "${@}"
84 else 86 else
85 echo "${FUNCNAME}: ${EANT_BUILD_XML} not found so nothing to do." 87 echo "${FUNCNAME}: ${EANT_BUILD_XML} not found so nothing to do."
86 fi 88 fi
87} 89}

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.20