summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-08-03 16:56:53 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-08-03 16:56:53 +0000
commita4211b450f7d08f891d1830066ea66509c4940e5 (patch)
tree9948bff3cea268365ea63b985ecffedf15fc1a33 /dev-java/rome
parentRemove generation 1 ebuild. (diff)
downloadgentoo-2-a4211b450f7d08f891d1830066ea66509c4940e5.tar.gz
gentoo-2-a4211b450f7d08f891d1830066ea66509c4940e5.tar.bz2
gentoo-2-a4211b450f7d08f891d1830066ea66509c4940e5.zip
Use splitted ant for src_test.
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'dev-java/rome')
-rw-r--r--dev-java/rome/ChangeLog5
-rw-r--r--dev-java/rome/rome-0.9.ebuild17
2 files changed, 11 insertions, 11 deletions
diff --git a/dev-java/rome/ChangeLog b/dev-java/rome/ChangeLog
index 49cedef34f98..1507e47e4004 100644
--- a/dev-java/rome/ChangeLog
+++ b/dev-java/rome/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/rome
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/rome/ChangeLog,v 1.6 2007/05/23 17:16:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/rome/ChangeLog,v 1.7 2007/08/03 16:56:53 betelgeuse Exp $
+
+ 03 Aug 2007; Petteri Räty <betelgeuse@gentoo.org> rome-0.9.ebuild:
+ Use splitted ant for src_test.
23 May 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Add ~x86-fbsd keyword. Bug #176906.
diff --git a/dev-java/rome/rome-0.9.ebuild b/dev-java/rome/rome-0.9.ebuild
index 548bbaaa7acd..8e2e5bfc2659 100644
--- a/dev-java/rome/rome-0.9.ebuild
+++ b/dev-java/rome/rome-0.9.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/rome/rome-0.9.ebuild,v 1.5 2007/03/11 20:33:34 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/rome/rome-0.9.ebuild,v 1.6 2007/08/03 16:56:53 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
@@ -11,17 +13,12 @@ SRC_URI="https://rome.dev.java.net/source/browse/*checkout*/rome/www/dist/${P}-s
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86 ~x86-fbsd"
-IUSE="doc source test"
+IUSE=""
COMMON_DEPEND=">=dev-java/jdom-1.0"
DEPEND=">=virtual/jdk-1.4
app-arch/unzip
- source? ( app-arch/zip )
- test? (
- dev-java/ant
- =dev-java/junit-3.8*
- )
- !test? ( dev-java/ant-core )
+ test? ( dev-java/ant-junit )
${COMMON_DEPEND}"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEPEND}"
@@ -37,7 +34,6 @@ src_unpack() {
mkdir -p target/lib
cd target/lib
java-pkg_jar-from jdom-1.0
- use test && java-pkg_jar-from --build-only junit
}
src_install() {
@@ -48,5 +44,6 @@ src_install() {
}
src_test() {
- eant test
+ java-pkg_jar-from --into target/lib junit
+ ANT_TASKS="ant-junit" eant test
}