summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/xml-xmlbeans/ChangeLog8
-rw-r--r--dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-200412172
-rw-r--r--dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-20041217-r13
-rw-r--r--dev-java/xml-xmlbeans/metadata.xml22
-rw-r--r--dev-java/xml-xmlbeans/xml-xmlbeans-20041217-r1.ebuild57
5 files changed, 80 insertions, 12 deletions
diff --git a/dev-java/xml-xmlbeans/ChangeLog b/dev-java/xml-xmlbeans/ChangeLog
index 951002b9eb61..4996df611da4 100644
--- a/dev-java/xml-xmlbeans/ChangeLog
+++ b/dev-java/xml-xmlbeans/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/xml-xmlbeans
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-xmlbeans/ChangeLog,v 1.15 2006/10/05 16:58:51 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-xmlbeans/ChangeLog,v 1.16 2006/12/26 15:36:13 betelgeuse Exp $
+
+*xml-xmlbeans-20041217-r1 (26 Dec 2006)
+
+ 26 Dec 2006; Petteri Räty <betelgeuse@gentoo.org>
+ +xml-xmlbeans-20041217-r1.ebuild:
+ Migrated to generation 2.
05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org>
xml-xmlbeans-20041217.ebuild:
diff --git a/dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-20041217 b/dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-20041217
index 339b584da190..574407e8d516 100644
--- a/dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-20041217
+++ b/dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-20041217
@@ -1 +1,3 @@
MD5 54982eb6940fd8748761b07f48900bf2 xml-xmlbeans-20041217.tar.bz2 2436239
+RMD160 6255625d9800b399b6c83e3039e96711c597d731 xml-xmlbeans-20041217.tar.bz2 2436239
+SHA256 c2a53c653c9f49e172e2c364fc8e111ad3d258f906bbd6b8c65ca0b3f0c57a68 xml-xmlbeans-20041217.tar.bz2 2436239
diff --git a/dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-20041217-r1 b/dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-20041217-r1
new file mode 100644
index 000000000000..574407e8d516
--- /dev/null
+++ b/dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-20041217-r1
@@ -0,0 +1,3 @@
+MD5 54982eb6940fd8748761b07f48900bf2 xml-xmlbeans-20041217.tar.bz2 2436239
+RMD160 6255625d9800b399b6c83e3039e96711c597d731 xml-xmlbeans-20041217.tar.bz2 2436239
+SHA256 c2a53c653c9f49e172e2c364fc8e111ad3d258f906bbd6b8c65ca0b3f0c57a68 xml-xmlbeans-20041217.tar.bz2 2436239
diff --git a/dev-java/xml-xmlbeans/metadata.xml b/dev-java/xml-xmlbeans/metadata.xml
index 896ad614b2db..3f89838776b7 100644
--- a/dev-java/xml-xmlbeans/metadata.xml
+++ b/dev-java/xml-xmlbeans/metadata.xml
@@ -6,17 +6,17 @@
<longdescription>
-XMLBeans is a tool that allows you to access the full power of XML in a Java
-friendly way. It is an XML-Java binding tool. The idea is that you can take
-advantage the richness and features of XML and XML Schema and have these
-features mapped as naturally as possible to the equivalent Java language and
-typing constructs. XMLBeans uses XML Schema to compile Java interfaces and
-classes that you can then use to access and modify XML instance data. Using
-XMLBeans is similar to using any other Java interface/class, you will see things
-like getFoo or setFoo just as you would expect when working with Java. While a
-major use of XMLBeans is to access your XML instance data with strongly typed
-Java classes there are also API's that allow you access to the full XML infoset
-(XMLBeans keeps full XML Infoset fidelity) as well as to allow you to reflect
+XMLBeans is a tool that allows you to access the full power of XML in a Java
+friendly way. It is an XML-Java binding tool. The idea is that you can take
+advantage the richness and features of XML and XML Schema and have these
+features mapped as naturally as possible to the equivalent Java language and
+typing constructs. XMLBeans uses XML Schema to compile Java interfaces and
+classes that you can then use to access and modify XML instance data. Using
+XMLBeans is similar to using any other Java interface/class, you will see things
+like getFoo or setFoo just as you would expect when working with Java. While a
+major use of XMLBeans is to access your XML instance data with strongly typed
+Java classes there are also API's that allow you access to the full XML infoset
+(XMLBeans keeps full XML Infoset fidelity) as well as to allow you to reflect
into the XML schema itself through an XML Schema Object model.
</longdescription>
diff --git a/dev-java/xml-xmlbeans/xml-xmlbeans-20041217-r1.ebuild b/dev-java/xml-xmlbeans/xml-xmlbeans-20041217-r1.ebuild
new file mode 100644
index 000000000000..e3848a5be3db
--- /dev/null
+++ b/dev-java/xml-xmlbeans/xml-xmlbeans-20041217-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-xmlbeans/xml-xmlbeans-20041217-r1.ebuild,v 1.1 2006/12/26 15:36:13 betelgeuse Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="An XML-Java binding tool"
+HOMEPAGE="http://xmlbeans.apache.org/"
+SRC_URI="http://dev.gentoo.org/~karltk/projects/java/distfiles/${P}.tar.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="1"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc source"
+
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/jaxen-1.1*"
+
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.6.2
+ source? ( app-arch/zip )
+ ${RDEPEND}"
+
+S=${WORKDIR}/${P}/v1
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/xml-xmlbeans-gentoo.patch
+
+ java-ant_rewrite-classpath build.xml
+
+ cd ${S}/external/lib
+ #TODO: includes and old copy named oldxbean.jar
+ #that probably should not be used
+ #rm -v *.jar
+
+ java-pkg_jar-from jaxen-1.1 jaxen.jar jaxen-1.1-beta-2.jar
+}
+
+src_compile() {
+ eant xbean.jar $(use_doc docs) \
+ -Dgentoo.classpath=$(java-pkg_getjars ant-core)
+}
+
+# Tests always seem to fail #100895
+
+src_install() {
+ java-pkg_dojar build/lib/xbean*.jar
+
+ dodoc CHANGES.txt NOTICE.txt README.txt
+ if use doc; then
+ java-pkg_dojavadoc build/docs/reference
+ java-pkg_dohtml -r docs
+ fi
+ use source && java-pkg_dosrc src/*
+}