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

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

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

Revision 1.57 Revision 1.58
12# and xml-rewrite.py because they were so slow 12# and xml-rewrite.py because they were so slow
13# Petteri Räty (betelgeuse@gentoo.org) 13# Petteri Räty (betelgeuse@gentoo.org)
14# 14#
15# Licensed under the GNU General Public License, v2 15# Licensed under the GNU General Public License, v2
16# 16#
17# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.57 2013/10/05 13:40:57 caster Exp $ 17# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.58 2014/03/31 16:48:51 mgorny Exp $
18 18
19# @ECLASS: java-ant-2.eclass 19# @ECLASS: java-ant-2.eclass
20# @MAINTAINER: 20# @MAINTAINER:
21# java@gentoo.org 21# java@gentoo.org
22# @AUTHOR: 22# @AUTHOR:
74# and ant dependencies constructed above. Python is there for 74# and ant dependencies constructed above. Python is there for
75# java-ant_remove-taskdefs 75# java-ant_remove-taskdefs
76JAVA_ANT_E_DEPEND="${JAVA_ANT_E_DEPEND} 76JAVA_ANT_E_DEPEND="${JAVA_ANT_E_DEPEND}
77 ${ANT_TASKS_DEPEND} 77 ${ANT_TASKS_DEPEND}
78 ${JAVA_PKG_PORTAGE_DEP} 78 ${JAVA_PKG_PORTAGE_DEP}
79 >=dev-java/javatoolkit-0.3.0-r2 79 >=dev-java/javatoolkit-0.3.0-r2"
80 >=dev-lang/python-2.4"
81 80
82# this eclass must be inherited after java-pkg-2 or java-pkg-opt-2 81# this eclass must be inherited after java-pkg-2 or java-pkg-opt-2
83# if it's java-pkg-opt-2, ant dependencies are pulled based on USE flag 82# if it's java-pkg-opt-2, ant dependencies are pulled based on USE flag
84if has java-pkg-opt-2 ${INHERITED}; then 83if has java-pkg-opt-2 ${INHERITED}; then
85 JAVA_ANT_E_DEPEND="${JAVA_PKG_OPT_USE}? ( ${JAVA_ANT_E_DEPEND} )" 84 JAVA_ANT_E_DEPEND="${JAVA_PKG_OPT_USE}? ( ${JAVA_ANT_E_DEPEND} )"
427# When --name NAME is specified, only remove taskdef with name NAME. Otherwise, 426# When --name NAME is specified, only remove taskdef with name NAME. Otherwise,
428# all taskdefs are removed. 427# all taskdefs are removed.
429# The file to rewrite defaults to build.xml when not specified. 428# The file to rewrite defaults to build.xml when not specified.
430java-ant_remove-taskdefs() { 429java-ant_remove-taskdefs() {
431 debug-print-function ${FUNCNAME} $* 430 debug-print-function ${FUNCNAME} $*
431
432 die "${FUNCNAME} has been banned, see bug #479838."
433
432 local task_name 434 local task_name
433 if [[ "${1}" == --name ]]; then 435 if [[ "${1}" == --name ]]; then
434 task_name="${2}" 436 task_name="${2}"
435 shift 2 437 shift 2
436 fi 438 fi

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

  ViewVC Help
Powered by ViewVC 1.1.20