/[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.26 Revision 1.27
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.26 2008/01/22 21:57:03 betelgeuse Exp $ 17# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.27 2008/01/22 23:26:46 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
262 eval xml-rewrite-2.py ${files} \ 262 eval xml-rewrite-2.py ${files} \
263 -c -e ${JAVA_PKG_BSFIX_TARGET_TAGS// / -e } \ 263 -c -e ${JAVA_PKG_BSFIX_TARGET_TAGS// / -e } \
264 -a nowarn -v yes ${output} || _bsfix_die "xml-rewrite2 failed: ${file}" 264 -a nowarn -v yes ${output} || _bsfix_die "xml-rewrite2 failed: ${file}"
265 265
266 if [[ ${JAVA_ANT_REWRITE_CLASSPATH} ]]; then 266 if [[ ${JAVA_ANT_REWRITE_CLASSPATH} ]]; then
267 eval echo "Adding gentoo.classpath to javac tasks" 267 eval echo "Adding gentoo.classpath to javac tasks" ${output}
268 eval xml-rewrite-2.py ${files} \ 268 eval xml-rewrite-2.py ${files} \
269 -c -e javac -e xjavac -a classpath -v \ 269 -c -e javac -e xjavac -a classpath -v \
270 '\${gentoo.classpath}' \ 270 '\${gentoo.classpath}' \
271 || _bsfix_die "xml-rewrite2 failed" 271 || _bsfix_die "xml-rewrite2 failed"
272 fi 272 fi

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.20