summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-12-19 00:16:11 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-12-19 00:16:11 +0000
commitf4045e31d9bd84840e0defcc42a8eecac0101288 (patch)
treeaf493236ba98f118853e906b1146fbb1336d694a /dev-java
parentNew upstream release. Fixes #72853. (Manifest recommit) (diff)
downloadgentoo-2-f4045e31d9bd84840e0defcc42a8eecac0101288.tar.gz
gentoo-2-f4045e31d9bd84840e0defcc42a8eecac0101288.tar.bz2
gentoo-2-f4045e31d9bd84840e0defcc42a8eecac0101288.zip
Initial import. Go duck! Fixes #74818.
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/xml-xmlbeans/ChangeLog9
-rw-r--r--dev-java/xml-xmlbeans/Manifest5
-rw-r--r--dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-200412171
-rw-r--r--dev-java/xml-xmlbeans/files/xml-xmlbeans-gentoo.patch156
-rw-r--r--dev-java/xml-xmlbeans/metadata.xml23
-rw-r--r--dev-java/xml-xmlbeans/xml-xmlbeans-20041217.ebuild53
6 files changed, 247 insertions, 0 deletions
diff --git a/dev-java/xml-xmlbeans/ChangeLog b/dev-java/xml-xmlbeans/ChangeLog
new file mode 100644
index 000000000000..8584ff3f4354
--- /dev/null
+++ b/dev-java/xml-xmlbeans/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/xml-xmlbeans
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-xmlbeans/ChangeLog,v 1.1 2004/12/19 00:16:11 karltk Exp $
+
+*xml-xmlbeans-20041217 (19 Dec 2004)
+
+ 19 Dec 2004; Karl Trygve Kalleberg <karltk@gentoo.org> xml-xmlbeans-20041217.ebuild:
+ Initial import. Ebuild submitted by the wunderbar Jan Brinkmann
+ <lucky@the-luckyduck.de>. Fixes #74818.
diff --git a/dev-java/xml-xmlbeans/Manifest b/dev-java/xml-xmlbeans/Manifest
new file mode 100644
index 000000000000..b6bd875cc405
--- /dev/null
+++ b/dev-java/xml-xmlbeans/Manifest
@@ -0,0 +1,5 @@
+MD5 86beb378672f6e00bcc8d04580c3f23f xml-xmlbeans-20041217.ebuild 1067
+MD5 9d2571a95020c378cee195cf6ead65fa ChangeLog 293
+MD5 0637a933ecb6e8cedfc4ddfcf3491728 metadata.xml 310
+MD5 d17fbe1ca053cfb927b65bec2afd966f files/digest-xml-xmlbeans-20041217 75
+MD5 8286f1524983ffeb5e5aa5b4dc401ef2 files/xml-xmlbeans-gentoo.patch 7497
diff --git a/dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-20041217 b/dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-20041217
new file mode 100644
index 000000000000..339b584da190
--- /dev/null
+++ b/dev-java/xml-xmlbeans/files/digest-xml-xmlbeans-20041217
@@ -0,0 +1 @@
+MD5 54982eb6940fd8748761b07f48900bf2 xml-xmlbeans-20041217.tar.bz2 2436239
diff --git a/dev-java/xml-xmlbeans/files/xml-xmlbeans-gentoo.patch b/dev-java/xml-xmlbeans/files/xml-xmlbeans-gentoo.patch
new file mode 100644
index 000000000000..6e975bb748ed
--- /dev/null
+++ b/dev-java/xml-xmlbeans/files/xml-xmlbeans-gentoo.patch
@@ -0,0 +1,156 @@
+diff -uprN xml-xmlbeans-20041217.orig/v1/build.xml xml-xmlbeans-20041217/v1/build.xml
+--- xml-xmlbeans-20041217.orig/v1/build.xml 2004-07-23 01:19:05.000000000 +0200
++++ xml-xmlbeans-20041217/v1/build.xml 2004-12-18 11:53:13.120355176 +0100
+@@ -340,7 +340,7 @@
+ srcdir="test/src/drt"
+ destdir="build/private/classes/drt"
+ classpathref="test.compile.path"
+- source="1.4"
++ source="1.4" target="1.4"
+ debug="on"/>
+ </target>
+
+@@ -372,7 +372,7 @@
+
+ <target name="soaptest.classes" depends="dirs, stsschema.jar">
+ <mkdir dir="build/private/classes/soaptest"/>
+- <javac srcdir="test/src/soaptest" destdir="build/private/classes/soaptest" source="1.4" debug="on">
++ <javac srcdir="test/src/soaptest" destdir="build/private/classes/soaptest" source="1.4" target="1.4" debug="on">
+ <classpath>
+ <pathelement location="external/lib/jdom.jar"/>
+ <pathelement location="external/lib/junit.jar"/>
+@@ -395,7 +395,7 @@
+ srcdir="test/src/erictest"
+ destdir="build/private/classes/erictest"
+ classpathref="test.compile.path"
+- source="1.4"
++ source="1.4" target="1.4"
+ debug="on"/>
+ </target>
+
+@@ -411,7 +411,7 @@
+ srcdir="test/src/random"
+ destdir="build/private/classes/random"
+ classpathref="test.compile.path"
+- source="1.4"
++ source="1.4" target="1.4"
+ debug="on"/>
+ </target>
+
+@@ -423,7 +423,7 @@
+
+ <target name="teststore.classes" depends="dirs">
+ <mkdir dir="build/private/classes/teststore"/>
+- <javac srcdir="test/src/teststore" destdir="build/private/classes/teststore" source="1.4" debug="on">
++ <javac srcdir="test/src/teststore" destdir="build/private/classes/teststore" source="1.4" target="1.4" debug="on">
+ <classpath>
+ <pathelement location="build/private/classes/simpletypes"/>
+ <pathelement location="build/private/classes/xmlcomp"/>
+@@ -557,7 +557,7 @@
+ <property name="docs.dir" value="build/docs"/>
+ <delete dir="${docs.dir}"/>
+ <mkdir dir="${docs.dir}"/>
+- <javadoc packagenames="*" sourcepath="src/xmlpublic" classpath="${javadoc.path}" destdir="${docs.dir}/reference" windowtitle="XMLBeans Documentation" source="1.4" stylesheetfile="docs/stylesheet.css">
++ <javadoc packagenames="*" sourcepath="src/xmlpublic" classpath="${javadoc.path}" destdir="${docs.dir}/reference" windowtitle="XMLBeans Documentation" source="1.4" target="1.4" stylesheetfile="docs/stylesheet.css">
+ <link href="http://xml.apache.org/xmlbeans/docs/reference/index.html"/>
+ <link href="http://java.sun.com/j2se/1.4.2/docs/api/"/>
+ <link href="http://java.sun.com/j2ee/1.4/docs/api/"/>
+@@ -583,7 +583,7 @@
+ srcdir="test/src/streamtest"
+ destdir="build/private/classes/streamtest"
+ classpathref="test.compile.path"
+- source="1.4"
++ source="1.4" target="1.4"
+ debug="on"/>
+ </target>
+
+@@ -736,7 +736,7 @@
+
+ <target name="xmlpublic.classes" depends="dirs, xmlinputstream.classes">
+ <mkdir dir="build/classes/xmlpublic"/>
+- <javac srcdir="src/xmlpublic" destdir="build/classes/xmlpublic" source="1.4" debug="on">
++ <javac srcdir="src/xmlpublic" destdir="build/classes/xmlpublic" source="1.4" target="1.4" debug="on">
+ <classpath>
+ <pathelement location="build/classes/xmlinputstream"/>
+ </classpath>
+@@ -756,7 +756,7 @@
+
+ <target name="typestore.classes" depends="dirs, xmlpublic.classes, common.classes, xmlinputstream.classes">
+ <mkdir dir="build/classes/typestore"/>
+- <javac srcdir="src/typestore" destdir="build/classes/typestore" source="1.4" debug="on">
++ <javac srcdir="src/typestore" destdir="build/classes/typestore" source="1.4" target="1.4" debug="on">
+ <classpath>
+ <pathelement location="build/classes/xmlinputstream"/>
+ <pathelement location="build/classes/xmlpublic"/>
+@@ -770,7 +770,7 @@
+
+ <target name="common.classes" depends="dirs, xmlpublic.jar, xmlinputstream.classes">
+ <mkdir dir="build/classes/common"/>
+- <javac srcdir="src/common" destdir="build/classes/common" source="1.4" debug="on">
++ <javac srcdir="src/common" destdir="build/classes/common" source="1.4" target="1.4" debug="on">
+ <classpath>
+ <pathelement location="build/classes/xmlinputstream"/>
+ <pathelement location="build/lib/xmlpublic.jar"/>
+@@ -783,7 +783,7 @@
+
+ <target name="typeimpl.classes" depends="dirs, repackage.classes, xmlpublic.classes, typestore.classes, xsdschema.classes, configschema.classes, toolschema.classes">
+ <mkdir dir="build/classes/typeimpl"/>
+- <javac destdir="build/classes/typeimpl" source="1.4" debug="on">
++ <javac destdir="build/classes/typeimpl" source="1.4" target="1.4" debug="on">
+ <classpath>
+ <pathelement location="build/classes/xmlinputstream"/>
+ <pathelement location="build/classes/common"/>
+@@ -816,7 +816,7 @@
+
+ <target name="xmlcomp.classes" depends="dirs, repackage.classes, typeimpl.classes, xmlpublic.classes, typestore.classes">
+ <mkdir dir="build/classes/xmlcomp"/>
+- <javac srcdir="src/xmlcomp" destdir="build/classes/xmlcomp" source="1.4" debug="on">
++ <javac srcdir="src/xmlcomp" destdir="build/classes/xmlcomp" source="1.4" target="1.4" debug="on">
+ <classpath>
+ <pathelement location="build/classes/xmlinputstream"/>
+ <pathelement location="build/classes/xmlpublic"/>
+@@ -837,7 +837,7 @@
+ <target name="xmlstore.classes"
+ depends="dirs, common.classes, typestore.classes, xmlpublic.classes">
+ <mkdir dir="build/classes/xmlstore"/>
+- <javac srcdir="src/xmlstore" destdir="build/classes/xmlstore" source="1.4" debug="on">
++ <javac srcdir="src/xmlstore" destdir="build/classes/xmlstore" source="1.4" target="1.4" debug="on">
+ <classpath id="xmlstore.compile.path">
+ <pathelement location="build/classes/xmlinputstream"/>
+ <pathelement location="build/classes/typestore"/>
+@@ -916,7 +916,7 @@
+
+ <target name="xmlconfig.classes" depends="dirs, xmlpublic.jar, configschema.classes">
+ <mkdir dir="build/classes/xmlconfig"/>
+- <javac srcdir="src/xmlconfig" destdir="build/classes/xmlconfig" source="1.4" debug="on">
++ <javac srcdir="src/xmlconfig" destdir="build/classes/xmlconfig" source="1.4" target="1.4" debug="on">
+ <classpath>
+ <pathelement location="build/lib/xmlpublic.jar"/>
+ <pathelement location="build/classes/configschema"/>
+@@ -1044,7 +1044,7 @@
+
+ <target name="repackage.classes">
+ <mkdir dir="build/classes/repackage"/>
+- <javac srcdir="src/repackage" destdir="build/classes/repackage" source="1.4" debug="on"/>
++ <javac srcdir="src/repackage" destdir="build/classes/repackage" source="1.4" target="1.4" debug="on"/>
+ </target>
+
+ <target name="check.jaxen.jar">
+@@ -1068,7 +1068,7 @@
+ srcdir="src/xpath"
+ destdir="build/private/classes/xpath"
+ classpathref="xpath.compile.path"
+- source="1.4"
++ source="1.4" target="1.4"
+ debug="on">
+ <classpath id="xpath.compile.path">
+ <pathelement location="build/lib/xmlpublic.jar"/>
+@@ -1090,7 +1090,7 @@
+ srcdir="test/src/xpath"
+ destdir="build/private/classes/testxpath"
+ classpathref="testxpath.compile.path"
+- source="1.4"
++ source="1.4" target="1.4"
+ debug="on">
+ <classpath id="testxpath.compile.path">
+ <pathelement location="build/lib/xmlpublic.jar"/>
diff --git a/dev-java/xml-xmlbeans/metadata.xml b/dev-java/xml-xmlbeans/metadata.xml
new file mode 100644
index 000000000000..896ad614b2db
--- /dev/null
+++ b/dev-java/xml-xmlbeans/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>java</herd>
+
+<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
+into the XML schema itself through an XML Schema Object model.
+
+</longdescription>
+</pkgmetadata>
diff --git a/dev-java/xml-xmlbeans/xml-xmlbeans-20041217.ebuild b/dev-java/xml-xmlbeans/xml-xmlbeans-20041217.ebuild
new file mode 100644
index 000000000000..5f6d0932e8be
--- /dev/null
+++ b/dev-java/xml-xmlbeans/xml-xmlbeans-20041217.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 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.ebuild,v 1.1 2004/12/19 00:16:11 karltk Exp $
+
+inherit eutils java-pkg
+
+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="~x86 ~amd64"
+
+IUSE="doc"
+
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.6.2
+ ${RDEPEND}"
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/jaxen-1.1_beta2*"
+
+S=${WORKDIR}/${P}/v1
+
+src_unpack(){
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/xml-xmlbeans-gentoo.patch
+
+ cd ${S}/external/lib
+ rm -f jaxen-1.1-beta-2.jar junit.jar
+
+ java-pkg_jar-from jaxen-1.1 jaxen-1.1-beta-2-dev.jar jaxen-1.1-beta-2.jar
+ java-pkg_jar-from junit
+
+}
+
+src_compile() {
+ local antflags="default"
+ if use doc; then
+ antflags="${antflags} docs"
+ fi
+ ant ${antflags} || die "compile failed"
+}
+
+src_install () {
+ java-pkg_dojar build/lib/xbean*.jar
+
+ dodoc CHANGES.txt LICENSE.txt NOTICE.txt README.txt
+ if use doc; then
+ java-pkg_dohtml -r build/docs/*
+ fi
+}