Add java-ant-2 to inherit, thanks to Betelgeuse. But disable its generic ant-core...
authorVlastimil Babka <caster@gentoo.org>
Fri, 2 Feb 2007 22:59:53 +0000 (22:59 +0000)
committerVlastimil Babka <caster@gentoo.org>
Fri, 2 Feb 2007 22:59:53 +0000 (22:59 +0000)
it rewrite only the one build.xml used.

eclass/ant-tasks.eclass

index df7f62be6accd373b61a62a34451854b32f13156..b0d4c852e340eed5cb6dfd8a1737e3308e190a31 100644 (file)
@@ -3,9 +3,13 @@
 # Copyright 2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License, v2 or later
 # Author Vlastimil Babka <caster@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/ant-tasks.eclass,v 1.3 2007/01/21 21:37:02 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ant-tasks.eclass,v 1.4 2007/02/02 22:59:53 caster Exp $
 
-inherit java-pkg-2 versionator
+# we set ant-core dep ourselves, restricted
+JAVA_ANT_DISABLE_ANT_CORE_DEP=true
+# rewriting build.xml for are the testcases has no reason atm
+JAVA_PKG_BSFIX_ALL=no
+inherit versionator java-pkg-2 java-ant-2
 
 EXPORT_FUNCTIONS src_unpack src_compile src_install