/[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.48 Revision 1.49
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.48 2010/02/12 23:51:44 caster Exp $ 17# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.49 2010/04/29 08:40:29 caster 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
141# @eclass-src_configure 141# @eclass-src_configure
142# 142#
143# src_configure rewrites the build.xml files 143# src_configure rewrites the build.xml files
144# ------------------------------------------------------------------------------ 144# ------------------------------------------------------------------------------
145java-ant-2_src_configure() { 145java-ant-2_src_configure() {
146 # if java support is optional, don't perform this when the USE flag is off
147 if hasq java-pkg-opt-2 ${INHERITED}; then
148 use ${JAVA_PKG_OPT_USE} || return
149 fi
150
146 # eant will call us unless called by Portage 151 # eant will call us unless called by Portage
147 [[ -e "${T}/java-ant-2_src_configure-run" ]] && return 152 [[ -e "${T}/java-ant-2_src_configure-run" ]] && return
148 153
149 [[ "${JAVA_ANT_IGNORE_SYSTEM_CLASSES}" ]] \ 154 [[ "${JAVA_ANT_IGNORE_SYSTEM_CLASSES}" ]] \
150 && java-ant_ignore-system-classes "${S}/build.xml" 155 && java-ant_ignore-system-classes "${S}/build.xml"

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

  ViewVC Help
Powered by ViewVC 1.1.20