diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-06-20 20:31:57 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-06-20 20:31:57 +0000 |
commit | 536d1b64421c84cf8307b3ae2f65ce275dfa2803 (patch) | |
tree | cecb8e063b516a602be339d1f3523e7eb9db03c5 /dev-java | |
parent | Shut up a few QA warnings. (diff) | |
download | historical-536d1b64421c84cf8307b3ae2f65ce275dfa2803.tar.gz historical-536d1b64421c84cf8307b3ae2f65ce275dfa2803.tar.bz2 historical-536d1b64421c84cf8307b3ae2f65ce275dfa2803.zip |
Version bump to latest upstream version needed for jersey-1.1.0. Backport ebuild tweaks to 1.0-r1 as well for ease of maintenance.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jsr311-api/ChangeLog | 12 | ||||
-rw-r--r-- | dev-java/jsr311-api/Manifest | 21 | ||||
-rw-r--r-- | dev-java/jsr311-api/files/jsr311-api-1.0-manifest | 12 | ||||
-rw-r--r-- | dev-java/jsr311-api/files/jsr311-api-1.1-build.xml | 26 | ||||
-rw-r--r-- | dev-java/jsr311-api/files/jsr311-api-1.1-manifest | 17 | ||||
-rw-r--r-- | dev-java/jsr311-api/files/jsr311-api-1.1-maven-build.xml | 183 | ||||
-rw-r--r-- | dev-java/jsr311-api/jsr311-api-1.0-r1.ebuild | 61 | ||||
-rw-r--r-- | dev-java/jsr311-api/jsr311-api-1.1.ebuild | 61 |
8 files changed, 374 insertions, 19 deletions
diff --git a/dev-java/jsr311-api/ChangeLog b/dev-java/jsr311-api/ChangeLog index c9aa0b1b65da..36ba725d03e8 100644 --- a/dev-java/jsr311-api/ChangeLog +++ b/dev-java/jsr311-api/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for dev-java/jsr311-api # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr311-api/ChangeLog,v 1.2 2009/03/31 17:33:10 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr311-api/ChangeLog,v 1.3 2009/06/20 20:31:56 robbat2 Exp $ + +*jsr311-api-1.1 (20 Jun 2009) +*jsr311-api-1.0-r1 (20 Jun 2009) + + 20 Jun 2009; Robin H. Johnson <robbat2@gentoo.org> + +jsr311-api-1.0-r1.ebuild, files/jsr311-api-1.0-manifest, + +jsr311-api-1.1.ebuild, +files/jsr311-api-1.1-build.xml, + +files/jsr311-api-1.1-manifest, +files/jsr311-api-1.1-maven-build.xml: + Version bump to latest upstream version needed for jersey-1.1.0. Backport + ebuild tweaks to 1.0-r1 as well for ease of maintenance. 31 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> jsr311-api-1.0.ebuild: Migrate to EAPI 2. Fix javadoc installation and cleanup ebuild. Fixes bug diff --git a/dev-java/jsr311-api/Manifest b/dev-java/jsr311-api/Manifest index 148a177e7399..65d195434b0c 100644 --- a/dev-java/jsr311-api/Manifest +++ b/dev-java/jsr311-api/Manifest @@ -1,17 +1,14 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX jsr311-api-1.0-build.xml 1092 RMD160 bbe4e48560abd809b1fd25e991eeb29c2b160d01 SHA1 8f9c687c4fb6b3c3e2cd9d0511f94debcc539462 SHA256 ea9c43a4a1444de5c862e010aebfdd52d4dad68d690ffa9e596e4bf0b29bccb8 -AUX jsr311-api-1.0-manifest 759 RMD160 502e456f757a17590704ecffe9efe2d68e8e8dcb SHA1 7ba46524001b4f8993210ff739e756ab799f30a9 SHA256 348b3d4fef933fc53d5765e5fe9b47acd6f8a7f21e1f9a988e3bde72e78a10ea +AUX jsr311-api-1.0-manifest 759 RMD160 b5c98716859573765021972329b5fc8a3672f625 SHA1 9d651aa933e49106ed77bcfef3a4751d38dbb5ad SHA256 56d7899069eecae6ec67b39fe599fe23170ebae22af5c50d2950f51e9d4167f9 AUX jsr311-api-1.0-maven-build.xml 7436 RMD160 c4631e35d08452eece43cb25ec2b061077cd94b5 SHA1 c71fa0426bfc0fee85e23d5550cabb3eda531b9d SHA256 6983de533a64961a2339fb3a0fdb691f551e11c47d33c2064e29013c15c7bb72 +AUX jsr311-api-1.1-build.xml 1092 RMD160 bbe4e48560abd809b1fd25e991eeb29c2b160d01 SHA1 8f9c687c4fb6b3c3e2cd9d0511f94debcc539462 SHA256 ea9c43a4a1444de5c862e010aebfdd52d4dad68d690ffa9e596e4bf0b29bccb8 +AUX jsr311-api-1.1-manifest 759 RMD160 ab439657098241cac36edb780cc0b907b3a6a63f SHA1 f196edd6aedcba730553779259432e8afb0c6696 SHA256 a39be96bac4e059c306746410be615f25e679a9e85b66352cf53e26e3e48b983 +AUX jsr311-api-1.1-maven-build.xml 7436 RMD160 ebdfecb7998bc0fe35e96452dad956a638314d69 SHA1 b65d76b6438eb7e2eddff5a554745f026927fba9 SHA256 a94d11c84a94876ff51714db270d040f9bbeeb050d262edd9c6707ac8a1cf844 +DIST jsr311-api-1.0-src.tar.bz2 82998 RMD160 29f51936f7b785621df9fb4f574700e12afd58a2 SHA1 dc39b4cb30d73f8a702cd5c386a0331602d5a957 SHA256 c0d4ac4e1dbfe2b61ec58518d5a80269caae515d758d424e1accb2cf794aa975 DIST jsr311-api-1.0.tar.bz2 33013 RMD160 7f3ba27db101338fb8899e426ca24f3aee3b226a SHA1 70b6d97e6787117cad79f15341eeb3404824d344 SHA256 0a1d2819a3130eb03a5cd1941bea105fba5cc23b8eea91d66c9056354118a83a +DIST jsr311-api-1.1-src.tar.bz2 84225 RMD160 c0c3856b062899598d562000cca99a4a527d7a9f SHA1 947d7a131a8f4135cc9f6eac002e99d1bb50c62d SHA256 c048e69dae1282e345de8cc169d3ead0a2bde9054b385b8b15f24074d4c779ef +EBUILD jsr311-api-1.0-r1.ebuild 1541 RMD160 a9b6c77b962e43e610dda9c242f1c99749eec0c2 SHA1 1163608cfb96eaf81411ff4aeade8cab5733ead2 SHA256 21696b968d5efd98e5ca3aac0b933afcb18ef304304263f6baee018ce61ed197 EBUILD jsr311-api-1.0.ebuild 1375 RMD160 b38f8252f3b95246ad41f184b630ffa834f97d79 SHA1 4fa2c3988536033047d58217a301a98b48129275 SHA256 a64f31555bf36c6b6b3770e39507012580884316818ed00d795b40243bf26203 -MISC ChangeLog 680 RMD160 4af2a5a64653217a383cf0a7bdb9617981f07b06 SHA1 7b34f597f4c964e1005dbefd7684b69166c6dbe7 SHA256 1711bb266d80be0ea25791e2d40ac021a004addc5227e41d5c891d5e625e7e23 +EBUILD jsr311-api-1.1.ebuild 1538 RMD160 3a96a31afa08629f4b9325b99200fb0ef23289bb SHA1 4290afda9f525c9b0f80091c83d482364c57e9f7 SHA256 8d40218980ac64241db0ce81307daf901fbd40b1d887ef61e020c47158d8d089 +MISC ChangeLog 1122 RMD160 bf105013e2fd3d8fe14677d3a6dd9299449775a6 SHA1 753a0815a7ffbf174db61751900fe95861380a3f SHA256 8cb9bbffaafba5049e3e893f12d26d42678c206ca4a194b896bf940eabe5b04e MISC metadata.xml 220 RMD160 167db06184a3f8ed0257119a381306a73755bfed SHA1 bd2f033ab04697284b9c739c5ba5dc958f6031af SHA256 01245f618d6112906067ff078cd95999d2c1c8cad027bfd2709f864ce404c617 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAknSU+0ACgkQcxLzpIGCsLSA9gCfcwaRZ2x5+QDmXk4eB5bBGKGh -Yj0AnRjSpx3ba/7PNhzoVcqopsh3UgDC -=SSnK ------END PGP SIGNATURE----- diff --git a/dev-java/jsr311-api/files/jsr311-api-1.0-manifest b/dev-java/jsr311-api/files/jsr311-api-1.0-manifest index 60775f928b86..9c4e64da9610 100644 --- a/dev-java/jsr311-api/files/jsr311-api-1.0-manifest +++ b/dev-java/jsr311-api/files/jsr311-api-1.0-manifest @@ -3,15 +3,15 @@ Extension-Name: javax.ws.rs Specification-Title: JAX-RS: Java API for RESTful Web Services
Specification-Vendor: Sun Microsystems, Inc.
Specification-Version: 1.0
+Bundle-DocURL: http://www.sun.com/
Bundle-License: http://www.opensource.org/licenses/cddl1.php
+Bundle-ManifestVersion: 2
+Bundle-Name: jsr311-api
+Bundle-SymbolicName: javax.ws.rs.jsr311-api
+Bundle-Vendor: Sun Microsystems, Inc
+Bundle-Version: 1.0
Import-Package: javax.ws.rs;version="1.0",javax.ws.rs.core;version="1.
0",javax.ws.rs.ext;version="1.0"
Export-Package: javax.ws.rs;uses:="javax.ws.rs.core";version="1.0",jav
ax.ws.rs.ext;uses:="javax.ws.rs,javax.ws.rs.core";version="1.0",javax
.ws.rs.core;uses:="javax.ws.rs,javax.ws.rs.ext";version="1.0"
-Bundle-Version: 1.0
-Bundle-Name: jsr311-api
-Bundle-DocURL: http://www.sun.com/
-Bundle-ManifestVersion: 2
-Bundle-Vendor: Sun Microsystems, Inc
-Bundle-SymbolicName: javax.ws.rs.jsr311-api
diff --git a/dev-java/jsr311-api/files/jsr311-api-1.1-build.xml b/dev-java/jsr311-api/files/jsr311-api-1.1-build.xml new file mode 100644 index 000000000000..00ededecdc10 --- /dev/null +++ b/dev-java/jsr311-api/files/jsr311-api-1.1-build.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- Ant build modified for Gentoo @ Mon, 23 Feb 2009 08:35:22 +0000 --> +<!-- Robin H. Johnson <robbat2@gentoo.org> --> + +<!-- ====================================================================== --> +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> +<!-- ====================================================================== --> + +<project name="jsr311-api" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Import maven-build.xml into the current project --> + <!-- ====================================================================== --> + + <import file="maven-build.xml"/> + + <!-- ====================================================================== --> + <!-- Help target --> + <!-- ====================================================================== --> + + <target name="help"> + <echo message="Please run: $ant -projecthelp"/> + </target> + +</project> diff --git a/dev-java/jsr311-api/files/jsr311-api-1.1-manifest b/dev-java/jsr311-api/files/jsr311-api-1.1-manifest new file mode 100644 index 000000000000..93184153e14c --- /dev/null +++ b/dev-java/jsr311-api/files/jsr311-api-1.1-manifest @@ -0,0 +1,17 @@ +Manifest-Version: 1.0
+Extension-Name: javax.ws.rs
+Specification-Title: JAX-RS: Java API for RESTful Web Services
+Specification-Vendor: Sun Microsystems, Inc.
+Specification-Version: 1.1
+Bundle-License: http://www.opensource.org/licenses/cddl1.php
+Import-Package: javax.ws.rs;version="1.1",javax.ws.rs.core;version="1.
+ 0",javax.ws.rs.ext;version="1.1"
+Export-Package: javax.ws.rs;uses:="javax.ws.rs.core";version="1.1",jav
+ ax.ws.rs.ext;uses:="javax.ws.rs,javax.ws.rs.core";version="1.1",javax
+ .ws.rs.core;uses:="javax.ws.rs,javax.ws.rs.ext";version="1.1"
+Bundle-Version: 1.1
+Bundle-Name: jsr311-api
+Bundle-DocURL: http://www.sun.com/
+Bundle-ManifestVersion: 2
+Bundle-Vendor: Sun Microsystems, Inc
+Bundle-SymbolicName: javax.ws.rs.jsr311-api
diff --git a/dev-java/jsr311-api/files/jsr311-api-1.1-maven-build.xml b/dev-java/jsr311-api/files/jsr311-api-1.1-maven-build.xml new file mode 100644 index 000000000000..326cfda665c2 --- /dev/null +++ b/dev-java/jsr311-api/files/jsr311-api-1.1-maven-build.xml @@ -0,0 +1,183 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- Ant build modified for Gentoo @ Mon, 23 Feb 2009 08:35:22 +0000 --> +<!-- Robin H. Johnson <robbat2@gentoo.org> --> + +<!-- ====================================================================== --> +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> +<!-- ====================================================================== --> + +<project name="jsr311-api-from-maven" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Build environment properties --> + <!-- ====================================================================== --> + + <property file="maven-build.properties"/> + + <property name="maven.build.finalName" value="jsr311-api-1.1"/> + <property name="maven.build.dir" value="target"/> + <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> + <property name="maven.build.srcDir.0" value="src"/> + <property name="maven.build.resourceDir.0" value="src/main/resources"/> + <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> + <property name="maven.build.testDir.0" value="test"/> + <property name="maven.build.testResourceDir.0" value="src/test/resources"/> + <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> + <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> + + <property name="maven.settings.interactiveMode" value="true"/> + + <!-- ====================================================================== --> + <!-- Defining classpaths --> + <!-- ====================================================================== --> + + <path id="build.classpath"> + </path> + <path id="build.test.classpath"> + <fileset dir="."> + <include name="lib/junit.jar"/> + </fileset> + </path> + + <!-- ====================================================================== --> + <!-- Cleaning up target --> + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> + <delete dir="${maven.build.dir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Compilation target --> + <!-- ====================================================================== --> + + <target name="compile" description="Compile the code"> + <mkdir dir="${maven.build.outputDir}"/> + <javac destdir="${maven.build.outputDir}" + nowarn="false" + debug="true" + optimize="false" + deprecation="true" + target="1.5" + verbose="false" + fork="false" + source="1.5" + classpath="${gentoo.classpath}"> + <src> + <pathelement location="${maven.build.srcDir.0}"/> + </src> + <classpath refid="build.classpath"/> + </javac> + </target> + + <!-- ====================================================================== --> + <!-- Test-compilation target --> + <!-- ====================================================================== --> + + <target name="compile-tests" + depends="compile" + description="Compile the test code" + unless="maven.test.skip"> + <mkdir dir="${maven.build.testOutputDir}"/> + <javac destdir="${maven.build.testOutputDir}" + nowarn="false" + debug="true" + optimize="false" + deprecation="true" + target="1.5" + verbose="false" + fork="false" + source="1.5" + classpath="${gentoo.classpath}"> + <src> + <pathelement location="${maven.build.testDir.0}"/> + </src> + <classpath> + <path refid="build.test.classpath"/> + <pathelement location="${maven.build.outputDir}"/> + </classpath> + </javac> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests" + description="Run the test cases"> + <mkdir dir="${maven.test.reports}"/> + <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> + <sysproperty key="basedir" value="."/> + <formatter type="xml"/> + <formatter type="plain" usefile="false"/> + <classpath> + <path refid="build.test.classpath"/> + <pathelement location="${maven.build.outputDir}"/> + <pathelement location="${maven.build.testOutputDir}"/> + </classpath> + <batchtest todir="${maven.test.reports}" unless="test"> + <fileset dir="${maven.build.testDir.0}"> + <include name="**/Test*.java"/> + <include name="**/*Test.java"/> + <include name="**/*TestCase.java"/> + <exclude name="**/*Abstract*Test.java"/> + </fileset> + </batchtest> + <batchtest todir="${maven.test.reports}" if="test"> + <fileset dir="${maven.build.testDir.0}"> + <include name="**/${test}.java"/> + <exclude name="**/*Abstract*Test.java"/> + </fileset> + </batchtest> + </junit> + </target> + + <!-- ====================================================================== --> + <!-- Javadoc target --> + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"> + <javadoc sourcepath="${maven.build.srcDir.0}" + packagenames="*" + destdir="${maven.reporting.outputDirectory}/apidocs" + access="protected" + old="false" + verbose="false" + version="true" + use="true" + author="true" + splitindex="false" + nodeprecated="false" + nodeprecatedlist="false" + notree="false" + noindex="false" + nohelp="false" + nonavbar="false" + serialwarn="false" + charset="ISO-8859-1" + linksource="false" + breakiterator="false"/> + </target> + + <!-- ====================================================================== --> + <!-- Package target --> + <!-- ====================================================================== --> + + <target name="package" depends="compile" description="Package the application"> + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" + manifest="manifest" + basedir="${maven.build.outputDir}" + excludes="**/package.html"/> + </target> + + <!-- ====================================================================== --> + <!-- A dummy target for the package named after the type it creates --> + <!-- ====================================================================== --> + + <target name="jar" depends="package" description="Builds the jar for the application"/> + +</project> diff --git a/dev-java/jsr311-api/jsr311-api-1.0-r1.ebuild b/dev-java/jsr311-api/jsr311-api-1.0-r1.ebuild new file mode 100644 index 000000000000..244e9d30980e --- /dev/null +++ b/dev-java/jsr311-api/jsr311-api-1.0-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr311-api/jsr311-api-1.0-r1.ebuild,v 1.1 2009/06/20 20:31:56 robbat2 Exp $ + +EAPI="2" +JAVA_PKG_IUSE="doc source test" +PROJ_PN="jsr311" +PROJ_PV="${PV}" +PROJ_P="${PROJ_PN}-${PROJ_PV}" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="JAX-RS: Java API for RESTful Web Services" +HOMEPAGE="https://jsr311.dev.java.net/" +SRC_FILE="${P}-src.tar.bz2" +SRC_URI="mirror://gentoo/${SRC_FILE}" + +LICENSE="CDDL" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.5 + test? ( dev-java/ant-junit:0 dev-java/junit:0 )" +RDEPEND=">=virtual/jre-1.5" + +S="${WORKDIR}/${P}/${PN}" + +# Helper to generate the tarball :-) +# ( PN=jsr311-api ; PV=1.1 ; P="${PN}-${PV}" ; . ${P}.ebuild ; src_tarball ) +src_tarball() { + SVN_SRC_URI="${HOMEPAGE}/svn/${PROJ_PN}/tags/${P}" + tarball="${P}" + svn export \ + --username guest --password '' --non-interactive \ + ${SVN_SRC_URI} ${tarball} \ + && \ + tar cvjf ${SRC_FILE} ${tarball} \ + && \ + echo "New tarball located at ${SRC_FILE}" +} + +java_prepare() { + for i in build.xml maven-build.xml manifest ; do + cp -f "${FILESDIR}"/"${P}-${i}" "${i}" \ + || die "Unable to find ${P}-${i}" + done +} + +src_install() { + dodoc README.txt || die + java-pkg_newjar target/${P}.jar ${PN}.jar + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/javax +} + +src_test() { + EANT_GENTOO_CLASSPATH="junit ant-core" \ + ANT_TASKS="ant-junit" \ + eant test +} diff --git a/dev-java/jsr311-api/jsr311-api-1.1.ebuild b/dev-java/jsr311-api/jsr311-api-1.1.ebuild new file mode 100644 index 000000000000..74620264bf89 --- /dev/null +++ b/dev-java/jsr311-api/jsr311-api-1.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr311-api/jsr311-api-1.1.ebuild,v 1.1 2009/06/20 20:31:56 robbat2 Exp $ + +EAPI="2" +JAVA_PKG_IUSE="doc source test" +PROJ_PN="jsr311" +PROJ_PV="${PV}" +PROJ_P="${PROJ_PN}-${PROJ_PV}" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="JAX-RS: Java API for RESTful Web Services" +HOMEPAGE="https://jsr311.dev.java.net/" +SRC_FILE="${P}-src.tar.bz2" +SRC_URI="mirror://gentoo/${SRC_FILE}" + +LICENSE="CDDL" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.5 + test? ( dev-java/ant-junit:0 dev-java/junit:0 )" +RDEPEND=">=virtual/jre-1.5" + +S="${WORKDIR}/${P}/${PN}" + +# Helper to generate the tarball :-) +# ( PN=jsr311-api ; PV=1.1 ; P="${PN}-${PV}" ; . ${P}.ebuild ; src_tarball ) +src_tarball() { + SVN_SRC_URI="${HOMEPAGE}/svn/${PROJ_PN}/tags/${P}" + tarball="${P}" + svn export \ + --username guest --password '' --non-interactive \ + ${SVN_SRC_URI} ${tarball} \ + && \ + tar cvjf ${SRC_FILE} ${tarball} \ + && \ + echo "New tarball located at ${SRC_FILE}" +} + +java_prepare() { + for i in build.xml maven-build.xml manifest ; do + cp -f "${FILESDIR}"/"${P}-${i}" "${i}" \ + || die "Unable to find ${P}-${i}" + done +} + +src_install() { + dodoc README.txt || die + java-pkg_newjar target/${P}.jar ${PN}.jar + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/javax +} + +src_test() { + EANT_GENTOO_CLASSPATH="junit ant-core" \ + ANT_TASKS="ant-junit" \ + eant test +} |