summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2010-01-16 18:47:19 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2010-01-16 18:47:19 +0000
commit4b7bd47f770ec87fd4de497f392255e1134af9dd (patch)
tree60888c1db25cab70257e5bc2ff90da34aa3c1e11 /dev-java/commons-beanutils/commons-beanutils-1.8.0.ebuild
parentAdd missing aqua USE flag (used by eclass) (diff)
downloadgentoo-2-4b7bd47f770ec87fd4de497f392255e1134af9dd.tar.gz
gentoo-2-4b7bd47f770ec87fd4de497f392255e1134af9dd.tar.bz2
gentoo-2-4b7bd47f770ec87fd4de497f392255e1134af9dd.zip
rm MemoryLeakTestCase.java because upstream acknowledges it failing.
(Portage version: 2.2_rc61/cvs/Linux i686)
Diffstat (limited to 'dev-java/commons-beanutils/commons-beanutils-1.8.0.ebuild')
-rw-r--r--dev-java/commons-beanutils/commons-beanutils-1.8.0.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-java/commons-beanutils/commons-beanutils-1.8.0.ebuild b/dev-java/commons-beanutils/commons-beanutils-1.8.0.ebuild
index 60fce7456ee7..32c73318e9b9 100644
--- a/dev-java/commons-beanutils/commons-beanutils-1.8.0.ebuild
+++ b/dev-java/commons-beanutils/commons-beanutils-1.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/commons-beanutils-1.8.0.ebuild,v 1.2 2010/01/03 20:21:34 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/commons-beanutils-1.8.0.ebuild,v 1.3 2010/01/16 18:47:19 betelgeuse Exp $
EAPI=2
JAVA_PKG_IUSE="doc source test"
@@ -33,10 +33,13 @@ DEPEND=">=virtual/jdk-1.4
S="${WORKDIR}/${P}-src"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+java_prepare() {
rm -vr src/java/org/apache/commons/collections/ || die
+ # from pom.xml:
+ # <!-- This test case is known to fail, and there isn't any proposed fix
+ # - so we will just exclude it until someone comes up with a solution.
+ # -->
+ rm -v ./src/test/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java || die
JAVA_ANT_CLASSPATH_TAGS="javac java" java-ant_rewrite-classpath
}