summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Almenar <strider@gentoo.org>2002-11-07 04:10:51 +0000
committerAdrian Almenar <strider@gentoo.org>2002-11-07 04:10:51 +0000
commitb7ac14dc489dd23c1abe1a8cc37f68ba25e9f830 (patch)
tree3aef28d60aa7ff44c4a1ff5ebf6288f2094a330a /dev-java
parentfix bug. (diff)
downloadhistorical-b7ac14dc489dd23c1abe1a8cc37f68ba25e9f830.tar.gz
historical-b7ac14dc489dd23c1abe1a8cc37f68ba25e9f830.tar.bz2
historical-b7ac14dc489dd23c1abe1a8cc37f68ba25e9f830.zip
Fixed use of junit flag
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/commons-beanutils/ChangeLog5
-rw-r--r--dev-java/commons-beanutils/commons-beanutils-1.5.ebuild12
2 files changed, 9 insertions, 8 deletions
diff --git a/dev-java/commons-beanutils/ChangeLog b/dev-java/commons-beanutils/ChangeLog
index bf4f463863d5..1971009c868c 100644
--- a/dev-java/commons-beanutils/ChangeLog
+++ b/dev-java/commons-beanutils/ChangeLog
@@ -1,8 +1,11 @@
# ChangeLog for dev-java/commons-beanutils
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/ChangeLog,v 1.1 2002/11/06 18:27:09 strider Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/ChangeLog,v 1.2 2002/11/07 04:10:51 strider Exp $
*commons-beanutils-1.5 (06 Nov 2002)
+ 07 Nov 2002; Adrian Almenar <strider@gentoo.org> commons-beanutils-1.5.ebuild:
+ Fixed USE of junit flag now its working.
+
06 Nov 2002; Adrian Almenar <strider@gentoo.org> ChangeLog commons-beanutils-1.5.ebuild files/digest-commons-beanutils-1.5:
Initial import.
diff --git a/dev-java/commons-beanutils/commons-beanutils-1.5.ebuild b/dev-java/commons-beanutils/commons-beanutils-1.5.ebuild
index 6adbcc1d4ae0..0fb65ec00460 100644
--- a/dev-java/commons-beanutils/commons-beanutils-1.5.ebuild
+++ b/dev-java/commons-beanutils/commons-beanutils-1.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/commons-beanutils-1.5.ebuild,v 1.1 2002/11/06 18:27:09 strider Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/commons-beanutils-1.5.ebuild,v 1.2 2002/11/07 04:10:51 strider Exp $
S=${WORKDIR}/${PN}-${PV}-src
DESCRIPTION="The Jakarta BeanUtils component provides easy-to-use wrappers around Reflection and Introspection APIs"
@@ -32,12 +32,10 @@ src_compile() {
myc="${myc} -Dbuild.compiler=jikes"
fi
-# FIXME: THIS ACTUALLY IS NOT WORKING
-
-# if [ -n "`use junit`" ] ; then
-# echo "junit.jar=`java-config --classpath=junit`" >> build.properties
-# ANT_OPTS=${myc} ant test || die "Testing Classes Failed"
-# fi
+ if [ -n "`use junit`" ] ; then
+ echo "junit.jar=`java-config --classpath=junit`" | sed s/:.*// >> build.properties
+ ANT_OPTS=${myc} ant test || die "Testing Classes Failed"
+ fi
ANT_OPTS=${myc} ant jar || die "Compilation Failed"
ANT_OPTS=${myc} ant javadoc || die "Unable to create documents"