/[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.20 Revision 1.21
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.20 2007/03/15 13:31:50 caster Exp $ 13# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.21 2007/04/26 23:32:12 caster 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
269 269
270 eval echo "Rewriting target attributes" ${output} 270 eval echo "Rewriting target attributes" ${output}
271 eval xml-rewrite-2.py ${files} \ 271 eval xml-rewrite-2.py ${files} \
272 -c -e ${JAVA_PKG_BSFIX_TARGET_TAGS// / -e } \ 272 -c -e ${JAVA_PKG_BSFIX_TARGET_TAGS// / -e } \
273 -a target -v ${want_target} ${output} || _bsfix_die "xml-rewrite2 failed: ${file}" 273 -a target -v ${want_target} ${output} || _bsfix_die "xml-rewrite2 failed: ${file}"
274
275 eval echo "Rewriting nowarn attributes" ${output}
276 eval xml-rewrite-2.py ${files} \
277 -c -e ${JAVA_PKG_BSFIX_TARGET_TAGS// / -e } \
278 -a nowarn -v yes ${output} || _bsfix_die "xml-rewrite2 failed: ${file}"
274 fi 279 fi
275 280
276 if [[ -n "${JAVA_PKG_DEBUG}" ]]; then 281 if [[ -n "${JAVA_PKG_DEBUG}" ]]; then
277 for file in "${@}"; do 282 for file in "${@}"; do
278 diff -NurbB "${file}.orig" "${file}" 283 diff -NurbB "${file}.orig" "${file}"

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20