/[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.43 Revision 1.44
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.43 2008/10/07 14:41:13 betelgeuse Exp $ 17# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.44 2009/02/08 15:50:21 maekke Exp $
18 18
19inherit java-utils-2 19inherit java-utils-2
20 20
21# This eclass provides functionality for Java packages which use 21# This eclass provides functionality for Java packages which use
22# ant to build. In particular, it will attempt to fix build.xml files, so that 22# ant to build. In particular, it will attempt to fix build.xml files, so that
53fi 53fi
54 54
55# We need some tools from javatoolkit. We also need portage 2.1 for phase hooks 55# We need some tools from javatoolkit. We also need portage 2.1 for phase hooks
56# and ant dependencies constructed above. 56# and ant dependencies constructed above.
57JAVA_ANT_E_DEPEND="${JAVA_ANT_E_DEPEND} 57JAVA_ANT_E_DEPEND="${JAVA_ANT_E_DEPEND}
58 ${ANT_TASKS_DEPEND} 58 ${ANT_TASKS_DEPEND}
59 ${JAVA_PKG_PORTAGE_DEP} 59 ${JAVA_PKG_PORTAGE_DEP}
60 >=dev-java/javatoolkit-0.3.0-r2" 60 >=dev-java/javatoolkit-0.3.0-r2"
61 61
62# this eclass must be inherited after java-pkg-2 or java-pkg-opt-2 62# this eclass must be inherited after java-pkg-2 or java-pkg-opt-2
63# if it's java-pkg-opt-2, ant dependencies are pulled based on USE flag 63# if it's java-pkg-opt-2, ant dependencies are pulled based on USE flag
64if hasq java-pkg-opt-2 ${INHERITED}; then 64if hasq java-pkg-opt-2 ${INHERITED}; then
65 JAVA_ANT_E_DEPEND="${JAVA_PKG_OPT_USE}? ( ${JAVA_ANT_E_DEPEND} )" 65 JAVA_ANT_E_DEPEND="${JAVA_PKG_OPT_USE}? ( ${JAVA_ANT_E_DEPEND} )"
146 [[ "${JAVA_ANT_IGNORE_SYSTEM_CLASSES}" ]] \ 146 [[ "${JAVA_ANT_IGNORE_SYSTEM_CLASSES}" ]] \
147 && java-ant_ignore-system-classes "${S}/build.xml" 147 && java-ant_ignore-system-classes "${S}/build.xml"
148 148
149 java-ant_bsfix 149 java-ant_bsfix
150 touch "${T}/java-ant-2_src_configure-run" 150 touch "${T}/java-ant-2_src_configure-run"
151} 151}
152 152
153# ------------------------------------------------------------------------------ 153# ------------------------------------------------------------------------------
154# @private java-ant_bsfix 154# @private java-ant_bsfix
155# 155#
156# Attempts to fix build files. The following variables will affect its behavior 156# Attempts to fix build files. The following variables will affect its behavior

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

  ViewVC Help
Powered by ViewVC 1.1.20