summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2009-02-15 20:28:31 +0000
committerVlastimil Babka <caster@gentoo.org>2009-02-15 20:28:31 +0000
commit72aa6d7cd77cd387e454b2aafd5fd0a945346340 (patch)
treef2462373e998c4640de7ab74fa2abf0444ff1fd2 /dev-java/commons-modeler
parentAdd date for gephex entry (diff)
downloadgentoo-2-72aa6d7cd77cd387e454b2aafd5fd0a945346340.tar.gz
gentoo-2-72aa6d7cd77cd387e454b2aafd5fd0a945346340.tar.bz2
gentoo-2-72aa6d7cd77cd387e454b2aafd5fd0a945346340.zip
Version bump.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/commons-modeler')
-rw-r--r--dev-java/commons-modeler/ChangeLog10
-rw-r--r--dev-java/commons-modeler/commons-modeler-2.0.1.ebuild57
-rw-r--r--dev-java/commons-modeler/files/1.1-commons-digester.patch15
3 files changed, 65 insertions, 17 deletions
diff --git a/dev-java/commons-modeler/ChangeLog b/dev-java/commons-modeler/ChangeLog
index a4aa63c4ae3e..93f73ddf14fa 100644
--- a/dev-java/commons-modeler/ChangeLog
+++ b/dev-java/commons-modeler/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/commons-modeler
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.30 2008/01/10 23:04:12 caster Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.31 2009/02/15 20:28:30 caster Exp $
+
+*commons-modeler-2.0.1 (15 Feb 2009)
+
+ 15 Feb 2009; Vlastimil Babka <caster@gentoo.org>
+ -files/1.1-commons-digester.patch, +commons-modeler-2.0.1.ebuild:
+ Version bump.
10 Jan 2008; Vlastimil Babka <caster@gentoo.org>
commons-modeler-2.0.ebuild:
diff --git a/dev-java/commons-modeler/commons-modeler-2.0.1.ebuild b/dev-java/commons-modeler/commons-modeler-2.0.1.ebuild
new file mode 100644
index 000000000000..a6fedf144611
--- /dev/null
+++ b/dev-java/commons-modeler/commons-modeler-2.0.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/commons-modeler-2.0.1.ebuild,v 1.1 2009/02/15 20:28:30 caster Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc source test"
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A lib to make the setup of Java Management Extensions easier"
+SRC_URI="mirror://apache/commons/modeler/source/${P}-src.tar.gz"
+HOMEPAGE="http://commons.apache.org/modeler/"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+# Provides ant tasks for ant to use
+RDEPEND=">=virtual/jre-1.4
+ dev-java/mx4j-core:3.0
+ >=dev-java/commons-logging-1.0.3:0
+ commons-digester? ( >=dev-java/commons-digester-1.4.1:0 )"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ source? ( app-arch/zip )
+ test? ( dev-java/junit:0 )"
+
+KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd"
+IUSE="commons-digester"
+
+S=${WORKDIR}/${P}-src
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Setup the build environment
+ use commons-digester && echo "commons-digester.jar=$(java-pkg_getjar commons-digester commons-digester.jar)" >> build.properties
+ echo "commons-logging.jar=$(java-pkg_getjar commons-logging commons-logging.jar)" >> build.properties
+ echo "jmx.jar=$(java-pkg_getjar mx4j-core-3.0 mx4j.jar)" >> build.properties
+
+ # This is something the build.xml tries to run. Could of course package it
+ # separately using dolauncher. Use the demo target for this.
+ #use examples && echo "jmxtools.jar=$(java-pkg_getjar mx4j-tools-3.0 mx4j-tools.jar)" >> build.properties
+
+ mkdir dist || die
+}
+
+EANT_BUILD_TARGET="prepare jar"
+
+src_test() {
+ eant test -Djunit.jar=$(java-pkg_getjar --build-only junit junit.jar)
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ dodoc RELEASE-NOTES.txt || die
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/org
+}
diff --git a/dev-java/commons-modeler/files/1.1-commons-digester.patch b/dev-java/commons-modeler/files/1.1-commons-digester.patch
deleted file mode 100644
index 92d09e7dd831..000000000000
--- a/dev-java/commons-modeler/files/1.1-commons-digester.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: build.xml
-===================================================================
---- build.xml (revision 483551)
-+++ build.xml (working copy)
-@@ -150,8 +150,8 @@
-
-
- <target name="compile-only" >
-- <available property="ant16.available" classname="org.apache.tools.ant.PropertyHelper" />
-- <available property="digester.available" classname="org.apache.commons.digester.Digester" />
-+ <available property="ant16.available" classname="org.apache.tools.ant.PropertyHelper" classpathref="compile.classpath" />
-+ <available property="digester.available" classname="org.apache.commons.digester.Digester" classpathref="compile.classpath" />
-
- <javac srcdir="${source.home}"
- destdir="${build.home}/classes"