/[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.39 Revision 1.40
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.39 2008/09/28 15:47:48 caster Exp $ 17# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.40 2008/10/01 15:23:17 betelgeuse 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
125# 125#
126# Rewrites available tasks to ignore ant classpath. 126# Rewrites available tasks to ignore ant classpath.
127# 127#
128# default: off 128# default: off
129# ------------------------------------------------------------------------------ 129# ------------------------------------------------------------------------------
130
131[[ "${EAPI}" == "2" ]] && EXPORT_FUNCTIONS src_configure
132
133# ------------------------------------------------------------------------------
134# @eclass-src_configure
135#
136# src_configure rewrites the build.xml files
137# ------------------------------------------------------------------------------
138java-ant-2_src_configure() {
139 # eant will call us unless called by Portage
140 [[ -e "${T}/java-ant-2_src_configure-run" ]] && return
141
142 [[ "${JAVA_ANT_IGNORE_SYSTEM_CLASSES}" ]] \
143 && java-ant_ignore-system-classes "${S}/build.xml"
144
145 java-ant_bsfix
146 touch "${T}/java-ant-2_src_configure-run"
147}
130 148
131# ------------------------------------------------------------------------------ 149# ------------------------------------------------------------------------------
132# @private java-ant_bsfix 150# @private java-ant_bsfix
133# 151#
134# Attempts to fix build files. The following variables will affect its behavior 152# Attempts to fix build files. The following variables will affect its behavior

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

  ViewVC Help
Powered by ViewVC 1.1.20