/[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.18 Revision 1.19
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.18 2007/01/28 19:53:17 betelgeuse Exp $ 8# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.19 2007/01/28 20:04:59 betelgeuse Exp $
9 9
10inherit java-utils-2 10inherit java-utils-2
11 11
12# ----------------------------------------------------------------------------- 12# -----------------------------------------------------------------------------
13# @eclass-begin 13# @eclass-begin
72# EANT_ANT_TASKS - modifies the ANT_TASKS variable in the eant environment 72# EANT_ANT_TASKS - modifies the ANT_TASKS variable in the eant environment
73# param: Parameters are passed to ant verbatim 73# param: Parameters are passed to ant verbatim
74# ------------------------------------------------------------------------------ 74# ------------------------------------------------------------------------------
75java-pkg-2_src_compile() { 75java-pkg-2_src_compile() {
76 if [[ -e "${EANT_BUILD_XML:=build.xml}" ]]; then 76 if [[ -e "${EANT_BUILD_XML:=build.xml}" ]]; then
77 if ! hasq java-ant-2 ${INHERITED}; then
78 msg="You should inherit java-ant-2 always when using eant"
79 ewarn ${msg}
80 is-java-strict && die ${msg}
81 fi
82 [[ "${EANT_FILTER_COMPILER}" ]] && \ 77 [[ "${EANT_FILTER_COMPILER}" ]] && \
83 java-pkg_filter-compiler ${EANT_FILTER_COMPILER} 78 java-pkg_filter-compiler ${EANT_FILTER_COMPILER}
84 79
85 local antflags="${EANT_BUILD_TARGET:=jar}" 80 local antflags="${EANT_BUILD_TARGET:=jar}"
86 hasq doc ${IUSE} && antflags="${antflags} $(use_doc ${EANT_DOC_TARGET})" 81 hasq doc ${IUSE} && antflags="${antflags} $(use_doc ${EANT_DOC_TARGET})"

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

  ViewVC Help
Powered by ViewVC 1.1.20