/[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.18 Revision 1.19
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.18 2007/03/01 14:01:02 betelgeuse Exp $ 13# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.19 2007/03/11 22:51:25 nichoj 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
128# variable JAVA_ANT_IGNORE_SYSTEM_CLASSES: 128# variable JAVA_ANT_IGNORE_SYSTEM_CLASSES:
129# ignore ant classpath in available tasks 129# ignore ant classpath in available tasks
130# ------------------------------------------------------------------------------ 130# ------------------------------------------------------------------------------
131post_src_unpack() { 131post_src_unpack() {
132 if java-pkg_func-exists ant_src_unpack; then 132 if java-pkg_func-exists ant_src_unpack; then
133 java-pkg_announce-qa-violation "Using old ant_src_unpack. Should be src_unpack" 133 die "ant_src_unpack is no longer support, should use just src_unpack"
134 ant_src_unpack
135 fi 134 fi
136 java-ant_bsfix 135 java-ant_bsfix
137 [[ "${JAVA_ANT_IGNORE_SYSTEM_CLASSES}" ]] \ 136 [[ "${JAVA_ANT_IGNORE_SYSTEM_CLASSES}" ]] \
138 && java-ant_ignore-system-classes "${S}/build.xml" 137 && java-ant_ignore-system-classes "${S}/build.xml"
139} 138}

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20