/[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.35 Revision 1.36
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.35 2010/02/01 09:38:44 caster Exp $ 8# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.36 2011/07/08 11:35:01 ssuominen Exp $
9 9
10inherit java-utils-2 10inherit java-utils-2
11 11
12# ----------------------------------------------------------------------------- 12# -----------------------------------------------------------------------------
13# @eclass-begin 13# @eclass-begin
91java-pkg-2_src_compile() { 91java-pkg-2_src_compile() {
92 if [[ -e "${EANT_BUILD_XML:=build.xml}" ]]; then 92 if [[ -e "${EANT_BUILD_XML:=build.xml}" ]]; then
93 [[ "${EANT_FILTER_COMPILER}" ]] && \ 93 [[ "${EANT_FILTER_COMPILER}" ]] && \
94 java-pkg_filter-compiler ${EANT_FILTER_COMPILER} 94 java-pkg_filter-compiler ${EANT_FILTER_COMPILER}
95 local antflags="${EANT_BUILD_TARGET:=jar}" 95 local antflags="${EANT_BUILD_TARGET:=jar}"
96 if hasq doc ${IUSE} && [[ -n "${EANT_DOC_TARGET=javadoc}" ]]; then 96 if has doc ${IUSE} && [[ -n "${EANT_DOC_TARGET=javadoc}" ]]; then
97 antflags="${antflags} $(use_doc ${EANT_DOC_TARGET})" 97 antflags="${antflags} $(use_doc ${EANT_DOC_TARGET})"
98 fi 98 fi
99 local tasks 99 local tasks
100 [[ ${EANT_ANT_TASKS} ]] && tasks="${ANT_TASKS} ${EANT_ANT_TASKS}" 100 [[ ${EANT_ANT_TASKS} ]] && tasks="${ANT_TASKS} ${EANT_ANT_TASKS}"
101 ANT_TASKS="${tasks:-${ANT_TASKS}}" \ 101 ANT_TASKS="${tasks:-${ANT_TASKS}}" \

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.20