diff options
author | Vlastimil Babka <caster@gentoo.org> | 2009-11-08 21:13:14 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2009-11-08 21:13:14 +0000 |
commit | d2c003f30ca3edd8f3549840ed5792b556a2a080 (patch) | |
tree | e0bfd013501248f20f65e22b84d746b57609f139 /dev-java/jax-ws | |
parent | Drop KDE 4.2.4 (diff) | |
download | gentoo-2-d2c003f30ca3edd8f3549840ed5792b556a2a080.tar.gz gentoo-2-d2c003f30ca3edd8f3549840ed5792b556a2a080.tar.bz2 gentoo-2-d2c003f30ca3edd8f3549840ed5792b556a2a080.zip |
Revbump to remove dependency on 1.5 jdk - bug #292001.
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/jax-ws')
-rw-r--r-- | dev-java/jax-ws/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/jax-ws/jax-ws-2.0.1-r1.ebuild | 94 |
2 files changed, 101 insertions, 2 deletions
diff --git a/dev-java/jax-ws/ChangeLog b/dev-java/jax-ws/ChangeLog index a190d678e1ca..ac624b306dca 100644 --- a/dev-java/jax-ws/ChangeLog +++ b/dev-java/jax-ws/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/jax-ws -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-ws/ChangeLog,v 1.8 2008/03/28 18:14:20 nixnut Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-ws/ChangeLog,v 1.9 2009/11/08 21:13:14 caster Exp $ + +*jax-ws-2.0.1-r1 (08 Nov 2009) + + 08 Nov 2009; Vlastimil Babka <caster@gentoo.org> +jax-ws-2.0.1-r1.ebuild: + Revbump to remove dependency on 1.5 jdk - bug #292001. 28 Mar 2008; nixnut <nixnut@gentoo.org> jax-ws-2.0.1.ebuild: Stable on ppc wrt bug 214778 diff --git a/dev-java/jax-ws/jax-ws-2.0.1-r1.ebuild b/dev-java/jax-ws/jax-ws-2.0.1-r1.ebuild new file mode 100644 index 000000000000..28a1d2afc56f --- /dev/null +++ b/dev-java/jax-ws/jax-ws-2.0.1-r1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-ws/jax-ws-2.0.1-r1.ebuild,v 1.1 2009/11/08 21:13:14 caster Exp $ + +EAPI=2 +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="Reference implementation of the Java API for XML Web Services" +HOMEPAGE="http://jax-ws.dev.java.net/" +DATE="20060817" +MY_P="JAXWS${PV}m1_source_${DATE}.jar" +SRC_URI="https://jax-ws.dev.java.net/jax-ws-201-m1/${MY_P}" + +LICENSE="CDDL" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" + +COMMON_DEP="dev-java/istack-commons-runtime:0 + dev-java/jax-ws-api:2 + dev-java/jaxb:2 + dev-java/jsr173:0 + >=dev-java/jsr181-1.0 + dev-java/jsr250:0 + dev-java/sun-httpserver-bin:2 + dev-java/jsr67:0 + dev-java/saaj:0 + dev-java/sjsxp:0 + dev-java/stax-ex:0 + dev-java/sun-jaf:0 + dev-java/txw2-runtime:0 + dev-java/xmlstreambuffer:0 + dev-java/xml-commons-resolver:0" + +# abstract interface problems with 1.5 +# https://bugs.gentoo.org/show_bug.cgi?id=207633 +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + ${COMMON_DEP}" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" + +S="${WORKDIR}/jaxws-si" + +src_unpack() { + echo "A" | java -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed" + + unpack ./jaxws-src.zip || die "unzip failed" +} + +java_prepare() { + cd "${S}/lib" + rm -v *.jar || die + + java-pkg_jarfrom istack-commons-runtime + java-pkg_jarfrom jax-ws-api-2 + java-pkg_jarfrom jaxb-2 + java-pkg_jarfrom jsr173 + java-pkg_jarfrom jsr181 + java-pkg_jarfrom jsr250 + java-pkg_jarfrom jsr67 + java-pkg_jarfrom saaj + java-pkg_jarfrom sjsxp + java-pkg_jarfrom sun-httpserver-bin-2 + java-pkg_jarfrom stax-ex + java-pkg_jarfrom sun-jaf + java-pkg_jarfrom txw2-runtime + java-pkg_jarfrom xml-commons-resolver + java-pkg_jarfrom xmlstreambuffer + + cp \ + "${S}"/src/rt/build/gen-src/com/sun/xml/ws/resources/*.java \ + "${S}"/src/rt/src/com/sun/xml/ws/resources/ || die "cp failed" + + find "${S}/src/" -name '*.java' -exec \ + sed -i -e \ + 's,com.sun.org.apache.xml.internal.resolver,org.apache.xml.resolver,g' \ + {} \; + + cd "${S}" + epatch "${FILESDIR}/${P}-gentoo.patch" + java-ant_rewrite-bootclasspath auto build.xml "$(java-pkg_getjars jax-ws-api-2)" +} + +EANT_BUILD_TARGET="build" + +src_install() { + java-pkg_dojar jax-ws.jar + + use source && java-pkg_dosrc src/rt/src/* +} |