/[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.14 Revision 1.15
8# and xml-rewrite.py because they were so slow 8# and xml-rewrite.py because they were so slow
9# Petteri Räty (betelgeuse@gentoo.org) 9# Petteri Räty (betelgeuse@gentoo.org)
10# 10#
11# Licensed under the GNU General Public License, v2 11# Licensed under the GNU General Public License, v2
12# 12#
13# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.14 2007/01/21 01:20:21 caster Exp $ 13# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.15 2007/01/28 21:42:24 betelgeuse Exp $
14 14
15inherit java-utils-2 15inherit java-utils-2
16 16
17# This eclass provides functionality for Java packages which use 17# This eclass provides functionality for Java packages which use
18# ant to build. In particular, it will attempt to fix build.xml files, so that 18# ant to build. In particular, it will attempt to fix build.xml files, so that
25# Please see the description in java-utils-2.eclass. 25# Please see the description in java-utils-2.eclass.
26#WANT_ANT_TASKS 26#WANT_ANT_TASKS
27 27
28# We need some tools from javatoolkit. We also need portage 2.1 for phase hooks 28# We need some tools from javatoolkit. We also need portage 2.1 for phase hooks
29DEPEND=">=dev-java/javatoolkit-0.1.5 ${JAVA_PKG_PORTAGE_DEP}" 29DEPEND=">=dev-java/javatoolkit-0.1.5 ${JAVA_PKG_PORTAGE_DEP}"
30
30# add ant-core into DEPEND, unless disabled 31# add ant-core into DEPEND, unless disabled
31[[ "${JAVA_ANT_DISABLE_ANT_CORE_DEP:-true}" ]] || DEPEND="${DEPEND} dev-java/ant-core" 32[[ "${JAVA_ANT_DISABLE_ANT_CORE_DEP}" ]] || DEPEND="${DEPEND} dev-java/ant-core"
33
32# add ant tasks specified in WANT_ANT_TASKS to DEPEND 34# add ant tasks specified in WANT_ANT_TASKS to DEPEND
33local ANT_TASKS_DEPEND; 35local ANT_TASKS_DEPEND;
34ANT_TASKS_DEPEND="$(java-pkg_ant-tasks-depend)" 36ANT_TASKS_DEPEND="$(java-pkg_ant-tasks-depend)"
35# check that java-pkg_ant-tasks-depend didn't fail 37# check that java-pkg_ant-tasks-depend didn't fail
36if [[ $? != 0 ]]; then 38if [[ $? != 0 ]]; then

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20