diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2010-08-19 17:11:38 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2010-08-19 17:11:38 +0000 |
commit | fbf21eb1a352d5ba308085ab2f6b2d12aa8cd6ab (patch) | |
tree | d206c265b956952652f707490021497b4253f30f /dev-java | |
parent | Version bump, bug #323231 thank Vladimir for report. (diff) | |
download | historical-fbf21eb1a352d5ba308085ab2f6b2d12aa8cd6ab.tar.gz historical-fbf21eb1a352d5ba308085ab2f6b2d12aa8cd6ab.tar.bz2 historical-fbf21eb1a352d5ba308085ab2f6b2d12aa8cd6ab.zip |
Initial version of Beans Validation API - JSR-303.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/validation-api/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/validation-api/Manifest | 19 | ||||
-rw-r--r-- | dev-java/validation-api/files/build.xml | 20 | ||||
-rw-r--r-- | dev-java/validation-api/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/validation-api/validation-api-1.0.0.ebuild | 41 |
5 files changed, 98 insertions, 0 deletions
diff --git a/dev-java/validation-api/ChangeLog b/dev-java/validation-api/ChangeLog new file mode 100644 index 000000000000..2a1861a9f28a --- /dev/null +++ b/dev-java/validation-api/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/validation-api +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/validation-api/ChangeLog,v 1.1 2010/08/19 17:11:37 nelchael Exp $ + +*validation-api-1.0.0 (19 Aug 2010) + + 19 Aug 2010; Krzysztof Pawlik <nelchael@gentoo.org> + +validation-api-1.0.0.ebuild, +files/build.xml, +metadata.xml: + Initial version of Beans Validation API - JSR-303. + diff --git a/dev-java/validation-api/Manifest b/dev-java/validation-api/Manifest new file mode 100644 index 000000000000..3a0e8ecd7b48 --- /dev/null +++ b/dev-java/validation-api/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX build.xml 543 RMD160 d3a855c2b98f595873b196baddb22a68b32255a5 SHA1 06b41e35a8b7af2b5e79f3b10f67264c34cdd906 SHA256 b255defee0ea45820858df31e19031d1bfdb6d13e4d76fb8ccebe85f10ec00f2 +DIST validation-api-1.0.0.GA-sources.jar 65220 RMD160 227a9f03ceb1d5d29fce22f082e7d70a9c059ce2 SHA1 7a561191db2203550fbfa40d534d4997624cd369 SHA256 a394d52a9b7fe2bb14f0718d2b3c8308ffe8f37e911956012398d55c9f9f9b54 +EBUILD validation-api-1.0.0.ebuild 1017 RMD160 c37cea99f99d0c438fb225fa8a10745279f2e76b SHA1 706cae80f80b45f9baa50f0b0a3943ae56a1fc32 SHA256 b082b948c64b6854706aed376ba029aa841da7a33e244c588d6a63fcf6e50390 +MISC ChangeLog 431 RMD160 b47d175ad2f18318ea043cd9f5411c6c91ef75a0 SHA1 d281efd99295cd91f57e9ef2ca40e34cc1f06341 SHA256 16ea8723b16cc66ab0848340fdf141a2cbb11bb8fc695904e66d2f8aa47643ea +MISC metadata.xml 224 RMD160 ff26da53f08837159410ff3eee9c11933ef21a68 SHA1 37c1f64045f8874b69bb7dffd084e7f699c37678 SHA256 8727090a0c21416083f038251a19559b983ff39bbefc2aa9b5c6c5bdc25b299d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iQEcBAEBAgAGBQJMbWXPAAoJEBZyv1r2qA5G4F0H/AohgeaoTHGpbJNANjxFvr7C +/WNgc3mTyPhuV5L3gR4TLYnv57ym/BBUst+5QAp8PdR9c5a8A8eqyHKW/sG6p7oa +qRh8iSaPSXbs531RAZQrcLnRi+sg2NVGRxLHic31ScKWtLMIQch3LVDlYLEk7V0I ++ZLXhHTD0FQx1o4OteM6WTr+w9RtWjIipMSNV5zU2+Y75HhpkqXcDgHHaIoTxUlM +C/esnj5a8eaW4MtZkGYsMiDpQ2YMw8fBJozLk/Vk3/71mrRtJYNdUvviy108ArPt +eqy/zo1y19yjDo58jtjbqxrJYoLwD3SVkMC7rhb0lm4do28AnX4NWLD7RHIgWC8= +=Oprs +-----END PGP SIGNATURE----- diff --git a/dev-java/validation-api/files/build.xml b/dev-java/validation-api/files/build.xml new file mode 100644 index 000000000000..d720ce51efcb --- /dev/null +++ b/dev-java/validation-api/files/build.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" standalone="yes"?> +<project basedir="." default="jar"> + <target name="compile"> + <mkdir dir="bin"/> + <javac srcdir="src" destdir="bin"> + <include name="**/*.java"/> + </javac> + </target> + <target name="jar" depends="compile"> + <jar destfile="validation-api.jar" manifest="src/META-INF/MANIFEST.MF"> + <zipfileset dir="bin"/> + </jar> + </target> + <target name="doc"> + <mkdir dir="api"/> + <javadoc packagenames="javax.*" destdir="api"> + <fileset dir="src/" includes="**/*.java"/> + </javadoc> + </target> +</project> diff --git a/dev-java/validation-api/metadata.xml b/dev-java/validation-api/metadata.xml new file mode 100644 index 000000000000..ed8c1e2e7469 --- /dev/null +++ b/dev-java/validation-api/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <maintainer> + <email>nelchael@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/dev-java/validation-api/validation-api-1.0.0.ebuild b/dev-java/validation-api/validation-api-1.0.0.ebuild new file mode 100644 index 000000000000..d4e000e78640 --- /dev/null +++ b/dev-java/validation-api/validation-api-1.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/validation-api/validation-api-1.0.0.ebuild,v 1.1 2010/08/19 17:11:37 nelchael Exp $ + +EAPI=3 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bean Validation (JSR-303) API" +HOMEPAGE="http://fisheye.jboss.org/browse/Hibernate/beanvalidation/api/tags/v1_0_0_GA" +SRC_URI="https://repository.jboss.org/nexus/service/local/repo_groups/public/content/javax/validation/${PN}/${PV}.GA/${P}.GA-sources.jar" + +LICENSE="Apache-2.0" +SLOT="1.0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip" + +EANT_BUILD_TARGET="jar" +EANT_DOC_TARGET="doc" + +S="${WORKDIR}/${PN}" + +src_unpack() { + mkdir -p "${S}/src" + cd "${S}/src" + unpack ${A} + cp "${FILESDIR}/build.xml" "${S}/" +} + +src_install() { + java-pkg_dojar "${PN}.jar" + use doc && java-pkg_dojavadoc "${S}/api" + use source && java-pkg_dosrc "${S}/src/javax" +} |