diff options
author | 2013-05-15 07:32:27 +0200 | |
---|---|---|
committer | 2013-05-15 07:32:27 +0200 | |
commit | 15767c9469470825cea0ce304f7f3824ab0c679a (patch) | |
tree | e0ce85a1d6bb876c8bc8cc0923cd815280252c9c | |
parent | Meteor has been added to the Portage tree, therefore I am removing it from th... (diff) | |
download | TomWij-15767c9469470825cea0ce304f7f3824ab0c679a.tar.gz TomWij-15767c9469470825cea0ce304f7f3824ab0c679a.tar.bz2 TomWij-15767c9469470825cea0ce304f7f3824ab0c679a.zip |
Added Eclipse Jetty dependencies for Eclipse SDK.
Package-Manager: portage-2.1.11.63
Manifest-Sign-Key: 6D34E57D
29 files changed, 2155 insertions, 0 deletions
diff --git a/dev-java/eclipse-jetty-http/Manifest b/dev-java/eclipse-jetty-http/Manifest new file mode 100644 index 0000000..823c8f3 --- /dev/null +++ b/dev-java/eclipse-jetty-http/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX eclipse-jetty-http-8.1.10-build.xml 9628 SHA256 2335df856dd34847da4e382b4944738157f8551bd4535bf8e73e4ead311a188a SHA512 0217fc04096833d35682ed43b2ac1f77e752a3a39db3c33baf335f9eb071fdd3222d83e2f1dacc64178f2fafe708c7e95dc08d4db2026054c244ab8f82eeb982 WHIRLPOOL 8471c3b34cce7a4945267cd30ec69c31e47f3be497bc8a90668812d64773bc3d7b8145b040044e1ee3abfd5d227a3d8ffb29603987a485b602cc4f2135b6a88e +DIST jetty-http-8.1.10.v20130312-sources.jar 66886 SHA256 b49c714ed1aa4983e756c4faefeff2aa5d041896b76a801fc5e7ca5ddbbcab28 SHA512 4b0671d137b1989e8ce74b91584b7805f6c9060b4d8b2995c169a311686dd61ba08e9df3e7947f4c2e1babad9a913d1c273863c90ea6bcb2dd87cb3fa50fc081 WHIRLPOOL 3c6f32c143b7f822e0eb4d5d60f38d45324879792895e4d914d36f42d6a5c47b34efced16e9e5fed5a384da323e8c98ae7d6c18f21c225781cabead2706002e2 +EBUILD eclipse-jetty-http-8.1.10.ebuild 1795 SHA256 0232b55bfafbfeeb629d6d9c02fc78b3e1c9aba92350111d48229a84daad8674 SHA512 fcf16c77b23fffb27c2920ba3aec4a83abb86451d89db9c84fe97d45836c6d399bf7fbd21d36541e9d1365c26a0ac7a528da8d0bbde7117fd1de80d2c25382d9 WHIRLPOOL d3395e84cae87c4236869c53dc7f66cdacb5f8fc7085e6c8e00e2754fea95626146e57c58dab224f0c63f07441cf9e283dbfbf1e195d158769c0f51a914b2b95 +MISC metadata.xml 300 SHA256 62949ff7913f0e80ce6ebb060d75d60b808a1e2016f955cf59a01c211e2cc95b SHA512 6b926507fa1dad24a81fc1c08160e1ab3da24327c385a56a600c4e356d73f00f289b0bcfa53b45bc33f894a1b2378ed6c619ddb7153ea8d373280bd631576245 WHIRLPOOL 759a35f41ea942fc9308b41fc8f2fa92ee61a59d27f6e683e52cff29faf28dc847d496ae47fedba72efb5a4b8211e72a48c64d1bead551105cf55980b62564b3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRkx3JAAoJEJWyH81tNOV9DacIAKUd4m9Ng/tq1nIeFGf3eJb5 +3o162/901sSvYCbpeukX5fknq0LsDlo9apcBqRnHCgRUX7Z5RHlqCNGtIMnfo6NA +154UpyHQLzgusbB8Zss+Z+o3ZqEmxj9eTQxQmXS3Y3EMWdyiq6vko0pUNIpTY7Cn +rfyHBSb1mdUeGGaxYmFO6jo01ntkDBrBQrSS6GwCj1AFbyGpROXXDhrIB9bZdAlV +S075Hp9q//8ExI2wvDo2SXbZAQ+Z/ffmqyxYj9nKGm4os/AH0xpke2KyCWqh19jh +9+u3kSZRnS8eRcLqLhCmS0KXo3uX3IPvRfNUUvJVMwZIS6ttWvgFKUYEoVAmL5s= +=iZMt +-----END PGP SIGNATURE----- diff --git a/dev-java/eclipse-jetty-http/eclipse-jetty-http-8.1.10.ebuild b/dev-java/eclipse-jetty-http/eclipse-jetty-http-8.1.10.ebuild new file mode 100644 index 0000000..0a7274a --- /dev/null +++ b/dev-java/eclipse-jetty-http/eclipse-jetty-http-8.1.10.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +JAVA_PKG_IUSE="test" + +inherit java-pkg-2 java-ant-2 java-osgi + +DESCRIPTION="Eclipse Jetty HTTP" +HOMEPAGE="http://www.eclipse.org/jetty/" +LICENSE="Apache-2.0 EPL-1.0" + +BUILD_DATE="20130312" + +MY_PV="${PV}.v${BUILD_DATE}" +MY_P="${PN/eclipse-/}-${MY_PV}" + +SRC_URI="http://repo1.maven.org/maven2/org/eclipse/jetty/${PN/eclipse-/}/${MY_PV}/${MY_P}-sources.jar" +SLOT="8" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}" + +COMMON_DEPEND="dev-java/eclipse-jetty-io:8 + dev-java/eclipse-jetty-util:8 + java-virtuals/servlet-api:3.0" + +DEPEND="${COMMON_DEPEND} + >=virtual/jdk-1.7 + dev-java/slf4j-api:0 + test? ( + dev-java/ant-junit:0 + dev-java/junit:0 + )" + +RDEPEND="${COMMON_DEPEND} + >=virtual/jre-1.7" + +java_prepare() { + cd "${S}" || die + cp "${FILESDIR}"/${P}-build.xml build.xml || die + sed -i 's/manifest=".*"/manifest="META-INF\/MANIFEST.MF"/g' build.xml || die + sed -i 's/\(<mkdir dir="${maven.build.outputDir}"\/>\)/\1<javac srcdir="." destdir="${maven.build.outputDir}" \/>/g' build.xml || die + + for FILE in $(find . -name '*.java') ; do + echo "Processing ${FILE} ..." + sed -i 's/org.mortbay\(\|.util\)/org.eclipse.jetty.util/g' ${FILE} || die + done +} + +EANT_TEST_GENTOO_CLASSPATH="junit" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_compile() { + EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar eclipse-jetty-util-8 eclipse-jetty-util.jar):$(java-pkg_getjar eclipse-jetty-io-8 eclipse-jetty-io.jar):$(java-pkg_getjar servlet-api-3.0 servlet-api.jar):$(java-pkg_getjar --build-only slf4j-api slf4j-api.jar)" + + java-pkg-2_src_compile +} + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-osgi_newjar-fromfile target/${MY_P}.jar META-INF/MANIFEST.MF org.eclipse.jetty.http +}
\ No newline at end of file diff --git a/dev-java/eclipse-jetty-http/files/eclipse-jetty-http-8.1.10-build.xml b/dev-java/eclipse-jetty-http/files/eclipse-jetty-http-8.1.10-build.xml new file mode 100644 index 0000000..e2d9b8c --- /dev/null +++ b/dev-java/eclipse-jetty-http/files/eclipse-jetty-http-8.1.10-build.xml @@ -0,0 +1,184 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- ====================================================================== --> +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> +<!-- ====================================================================== --> + +<!-- ====================================================================== --> +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> +<!-- ====================================================================== --> +<!-- --> +<!-- Any modifications will be overwritten. --> +<!-- --> +<!-- Generated by Maven Ant Plugin on 5/12/13 3:11 PM --> +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> +<!-- --> +<!-- ====================================================================== --> + +<project name="jetty-http-from-maven" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Build environment properties --> + <!-- ====================================================================== --> + + <property file="${user.home}/.m2/maven.properties"/> + <property file="maven-build.properties"/> + + <property name="maven.build.finalName" value="jetty-http-8.1.10.v20130312"/> + <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/main/java"/> + <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="src/test/java"/> + <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.repo.local" value="${user.home}/.m2/repository"/> + <property name="maven.settings.offline" value="false"/> + <property name="maven.settings.interactiveMode" value="true"/> + + <!-- ====================================================================== --> + <!-- Defining classpaths --> + <!-- ====================================================================== --> + + <path id="build.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar"/> + </path> + <path id="build.test.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar"/> + <pathelement location="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar"/> + </path> + + <!-- ====================================================================== --> + <!-- Cleaning up target --> + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> + <delete dir="${maven.build.dir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Compilation target --> + <!-- ====================================================================== --> + + <target name="compile" depends="get-deps" description="Compile the code"> + <mkdir dir="${maven.build.outputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Test-compilation target --> + <!-- ====================================================================== --> + + <target name="compile-tests" + depends="compile" + description="Compile the test code" + unless="maven.test.skip"> + <mkdir dir="${maven.build.testOutputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests, junit-missing" + unless="junit.skipped" + description="Run the test cases"/> + + <target name="test-junit-present"> + <available classname="junit.framework.Test" property="junit.present"/> + </target> + + <target name="test-junit-status" + depends="test-junit-present"> + <condition property="junit.missing"> + <and> + <isfalse value="${junit.present}"/> + <isfalse value="${maven.test.skip}"/> + </and> + </condition> + <condition property="junit.skipped"> + <or> + <isfalse value="${junit.present}"/> + <istrue value="${maven.test.skip}"/> + </or> + </condition> + </target> + + <target name="junit-missing" + depends="test-junit-status" + if="junit.missing"> + <echo>=================================== WARNING ===================================</echo> + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> + <echo>===============================================================================</echo> + </target> + + <!-- ====================================================================== --> + <!-- Javadoc target --> + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"/> + + <!-- ====================================================================== --> + <!-- Package target --> + <!-- ====================================================================== --> + + <target name="package" depends="compile,test" description="Package the application"> + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" + manifest="/var/tmp/portage/dev-java/jetty-http-9.0.3/work/target/classes/META-INF/MANIFEST.MF" + 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"/> + + <!-- ====================================================================== --> + <!-- Download dependencies target --> + <!-- ====================================================================== --> + + <target name="test-offline"> + <condition property="maven.mode.offline"> + <equals arg1="${maven.settings.offline}" arg2="true"/> + </condition> + </target> + + <target name="get-deps" + depends="test-offline" + description="Download all dependencies" + unless="maven.mode.offline"> + <mkdir dir="${maven.repo.local}"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" + dest="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/junit/junit/4.8.1"/> + <get src="http://repo.maven.apache.org/maven2/junit/junit/4.8.1/junit-4.8.1.jar" + dest="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + </target> + +</project> diff --git a/dev-java/eclipse-jetty-http/metadata.xml b/dev-java/eclipse-jetty-http/metadata.xml new file mode 100644 index 0000000..de4a63c --- /dev/null +++ b/dev-java/eclipse-jetty-http/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> + <longdescription> + Eclipse Jetty HTTP + </longdescription> +</pkgmetadata> diff --git a/dev-java/eclipse-jetty-io/Manifest b/dev-java/eclipse-jetty-io/Manifest new file mode 100644 index 0000000..6a7e171 --- /dev/null +++ b/dev-java/eclipse-jetty-io/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX eclipse-jetty-io-8.1.10-build.xml 9738 SHA256 132b1ce62421837aafbbcd038a6977c554b3bd0160ff43f47a2134f85dd8e734 SHA512 4529d667dab97a31da764f0995ec6a1d54b7f71639a793a2c6dea51bf0f70fcfb880830346cde0fec10e0bc646b0020ecdbac6e95f4a19fdbe03254ad7ca91da WHIRLPOOL 0801fc3f48c3aa3e117bb3f0d72ec85a274d947bc2968ebd0b70376a1599fc9a283bbed5f7e2d7808c996919067ee943ba55accd44322db4e330aadea41b1723 +DIST jetty-io-8.1.10.v20130312-sources.jar 68828 SHA256 a27eb08d32fbd9250151d6ea6447be2a848d6d364f938b5f393bc83eea3ea7d4 SHA512 77a3462d09d90fbd95bd6fbd1ece330522d40d6604a085869e3a635afab50ace70d4eeb73b768b6720237d45f66e3847f054f73a9812b6d95dd49aed13543d5e WHIRLPOOL 36b68663134c840ec08491a53a4de95749ab00d92e23c3376303f109e4a4d47cee1223a0ae2d1db363ec53f9202350ae17929b3ef3461778cc6e7f6ee9a4b5e2 +EBUILD eclipse-jetty-io-8.1.10.ebuild 1717 SHA256 4ba1b7dff7bea86ad882486fd3b9352c2f5536ee67c03a2288ea5c0919612de3 SHA512 1b775d1b19f496e4d90c2c7e39134ecb6b919aab9201faf28fc4fb9b43ddcc270e70990760b9809919bc38035c9396384890825a262f8cbb79a7531c1b0c26a4 WHIRLPOOL 5e6bbb7327af0cafcd361ed17391470c9bcb685635f5f85b039d818821a50db58a98c76f024f9fdc32956eeb529c5920b30a6e687da8b5407d5aa364170e3b44 +MISC metadata.xml 298 SHA256 851a0435956e3c2a74ef7a72454168ddff9783be87bf753a6af94ff6e9da65ea SHA512 5da53abd7ad37c814c6ac0aea912d80e0113e6c944cc5064b4f0bdde5eff3ac45878730eee1b67e218443686f572a93d02a30566a2bca493a53cb449eeefaa66 WHIRLPOOL 6cc8ac5a3a6065685d0398b78a16f497e261af0ceb3055d35b9b9dbd14dc5a933f7b1f882837f9d3ee9f119527cb9c231b6c70a3ea784dbeedea924cd35dccc5 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRkx3PAAoJEJWyH81tNOV9cfsH/3SaM32PCRFstwyjNFiOcUd9 +OiVAtLmPcDqb8R43RuylYebqhFaWlUOOajgl0/h2W6ONj1OohejRyMuGCNUr2n09 +XkMkJYuOJue2LSOteS10hs3r/AOBpP4Vs65eAiZaRlNWy8zVjBi4dpztwooD7cxp +Vfy5ZXnxQFM/2T71pfWHYZy2JaYCp3DALFEvafG2Fo5yqe1DyzZx6zt6BjREOBTz +sMCSVCXngs0CHSBPyx1WcJ7p9SWYY1iQ+yuZnMOst5Ucdoq6ENgD+rR5G6ZWWOdL +jz/8gqubKFNAxlpdPrbT4P06Kw3WrviOuPR2PShm97h66k6LNQ4SE+8GCEAnOdY= +=+jR/ +-----END PGP SIGNATURE----- diff --git a/dev-java/eclipse-jetty-io/eclipse-jetty-io-8.1.10.ebuild b/dev-java/eclipse-jetty-io/eclipse-jetty-io-8.1.10.ebuild new file mode 100644 index 0000000..211b187 --- /dev/null +++ b/dev-java/eclipse-jetty-io/eclipse-jetty-io-8.1.10.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +JAVA_PKG_IUSE="test" + +inherit java-pkg-2 java-ant-2 java-osgi + +DESCRIPTION="Eclipse Jetty I/O" +HOMEPAGE="http://www.eclipse.org/jetty/" +LICENSE="Apache-2.0 EPL-1.0" + +BUILD_DATE="20130312" + +MY_PV="${PV}.v${BUILD_DATE}" +MY_P="${PN/eclipse-/}-${MY_PV}" + +SRC_URI="http://repo1.maven.org/maven2/org/eclipse/jetty/${PN/eclipse-/}/${MY_PV}/${MY_P}-sources.jar" +SLOT="8" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}" + +COMMON_DEPEND="dev-java/eclipse-jetty-util:8" + +DEPEND="${COMMON_DEPEND} + >=virtual/jdk-1.7 + dev-java/slf4j-api:0 + test? ( + dev-java/ant-junit:0 + dev-java/junit:0 + ) + java-virtuals/servlet-api:3.0" + +RDEPEND="${COMMON_DEPEND} + >=virtual/jre-1.7" + +java_prepare() { + cd "${S}" || die + cp "${FILESDIR}"/${P}-build.xml build.xml || die + sed -i 's/manifest=".*"/manifest="META-INF\/MANIFEST.MF"/g' build.xml || die + sed -i 's/\(<mkdir dir="${maven.build.outputDir}"\/>\)/\1<javac srcdir="." destdir="${maven.build.outputDir}" \/>/g' build.xml || die + + for FILE in $(find . -name '*.java') ; do + echo "Processing ${FILE} ..." + sed -i 's/org.mortbay\(\|.util\)/org.eclipse.jetty.util/g' ${FILE} || die + done +} + +EANT_TEST_GENTOO_CLASSPATH="junit" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_compile() { + EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar eclipse-jetty-util-8 eclipse-jetty-util.jar):$(java-pkg_getjar --build-only servlet-api-3.0 servlet-api.jar):$(java-pkg_getjar --build-only slf4j-api slf4j-api.jar)" + + java-pkg-2_src_compile +} + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-osgi_newjar-fromfile target/${MY_P}.jar META-INF/MANIFEST.MF org.eclipse.jetty.io +}
\ No newline at end of file diff --git a/dev-java/eclipse-jetty-io/files/eclipse-jetty-io-8.1.10-build.xml b/dev-java/eclipse-jetty-io/files/eclipse-jetty-io-8.1.10-build.xml new file mode 100644 index 0000000..d71a6a2 --- /dev/null +++ b/dev-java/eclipse-jetty-io/files/eclipse-jetty-io-8.1.10-build.xml @@ -0,0 +1,188 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- ====================================================================== --> +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> +<!-- ====================================================================== --> + +<!-- ====================================================================== --> +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> +<!-- ====================================================================== --> +<!-- --> +<!-- Any modifications will be overwritten. --> +<!-- --> +<!-- Generated by Maven Ant Plugin on 5/12/13 3:02 PM --> +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> +<!-- --> +<!-- ====================================================================== --> + +<project name="jetty-io-from-maven" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Build environment properties --> + <!-- ====================================================================== --> + + <property file="${user.home}/.m2/maven.properties"/> + <property file="maven-build.properties"/> + + <property name="maven.build.finalName" value="jetty-io-8.1.10.v20130312"/> + <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/main/java"/> + <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="src/test/java"/> + <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.repo.local" value="${user.home}/.m2/repository"/> + <property name="maven.settings.offline" value="false"/> + <property name="maven.settings.interactiveMode" value="true"/> + + <!-- ====================================================================== --> + <!-- Defining classpaths --> + <!-- ====================================================================== --> + + <path id="build.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + </path> + <path id="build.test.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1/jetty-test-helper-1.6.1.jar"/> + <pathelement location="${maven.repo.local}/junit/junit-dep/4.8.1/junit-dep-4.8.1.jar"/> + <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2.1.jar"/> + <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-library/1.2.1/hamcrest-library-1.2.1.jar"/> + </path> + + <!-- ====================================================================== --> + <!-- Cleaning up target --> + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> + <delete dir="${maven.build.dir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Compilation target --> + <!-- ====================================================================== --> + + <target name="compile" depends="get-deps" description="Compile the code"> + <mkdir dir="${maven.build.outputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Test-compilation target --> + <!-- ====================================================================== --> + + <target name="compile-tests" + depends="compile" + description="Compile the test code" + unless="maven.test.skip"> + <mkdir dir="${maven.build.testOutputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests, junit-missing" + unless="junit.skipped" + description="Run the test cases"/> + + <target name="test-junit-present"> + <available classname="junit.framework.Test" property="junit.present"/> + </target> + + <target name="test-junit-status" + depends="test-junit-present"> + <condition property="junit.missing"> + <and> + <isfalse value="${junit.present}"/> + <isfalse value="${maven.test.skip}"/> + </and> + </condition> + <condition property="junit.skipped"> + <or> + <isfalse value="${junit.present}"/> + <istrue value="${maven.test.skip}"/> + </or> + </condition> + </target> + + <target name="junit-missing" + depends="test-junit-status" + if="junit.missing"> + <echo>=================================== WARNING ===================================</echo> + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> + <echo>===============================================================================</echo> + </target> + + <!-- ====================================================================== --> + <!-- Javadoc target --> + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"/> + + <!-- ====================================================================== --> + <!-- Package target --> + <!-- ====================================================================== --> + + <target name="package" depends="compile,test" description="Package the application"> + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" + manifest="/var/tmp/portage/dev-java/jetty-io-9.0.3/work/target/classes/META-INF/MANIFEST.MF" + 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"/> + + <!-- ====================================================================== --> + <!-- Download dependencies target --> + <!-- ====================================================================== --> + + <target name="test-offline"> + <condition property="maven.mode.offline"> + <equals arg1="${maven.settings.offline}" arg2="true"/> + </condition> + </target> + + <target name="get-deps" + depends="test-offline" + description="Download all dependencies" + unless="maven.mode.offline"> + <mkdir dir="${maven.repo.local}"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1/jetty-test-helper-1.6.1.jar" + dest="${maven.repo.local}/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1/jetty-test-helper-1.6.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/junit/junit-dep/4.8.1"/> + <get src="http://repo.maven.apache.org/maven2/junit/junit-dep/4.8.1/junit-dep-4.8.1.jar" + dest="${maven.repo.local}/junit/junit-dep/4.8.1/junit-dep-4.8.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.2.1"/> + <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2.1.jar" + dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-library/1.2.1"/> + <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-library/1.2.1/hamcrest-library-1.2.1.jar" + dest="${maven.repo.local}/org/hamcrest/hamcrest-library/1.2.1/hamcrest-library-1.2.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + </target> + +</project> diff --git a/dev-java/eclipse-jetty-io/metadata.xml b/dev-java/eclipse-jetty-io/metadata.xml new file mode 100644 index 0000000..7499377 --- /dev/null +++ b/dev-java/eclipse-jetty-io/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> + <longdescription> + Eclipse Jetty IO + </longdescription> +</pkgmetadata> diff --git a/dev-java/eclipse-jetty-jmx/Manifest b/dev-java/eclipse-jetty-jmx/Manifest new file mode 100644 index 0000000..a888187 --- /dev/null +++ b/dev-java/eclipse-jetty-jmx/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX eclipse-jetty-jmx-8.1.10-build.xml 8272 SHA256 982fd6d4be81eb32171305ec7618e1fb417831d39f7603909fc6af1e83a0b432 SHA512 f79ce0c4f5c20a9b75fdc2e305f660dace69f999593a9a547896f8ae2df5eed0b24aced0515e57f97dccd68b9bd04319f10ea05cdb6490acfba3d77db105c6ef WHIRLPOOL 8a8ef194efd136a3f949c50511d46c844426865894973d9a13446da904dae31ba93c6151c17f607875856687814dc94c2c6d37e3c9c233ee79b71fdf837c3c5a +DIST jetty-jmx-8.1.10.v20130312-sources.jar 16987 SHA256 683a8dfd31b0d47fa7856da0bf47791209d5d8f6f4c75dbd89110e3564bed98c SHA512 fa27093675949f82b52ebe426308240f118e008802553a3391e0b06530ea1334ca4bf2a61d720dbc060dbe157e5efdac168b1e8a8fde8e2245098575a765715e WHIRLPOOL ed2189e8636bf1aaaed9689d2a70fe7dc1c2826b1e730fd568987778d87684473a0b9b7dbaa0ae457c537105bbc1547401ea43afae4f20bfe6b8b390dab594ad +EBUILD eclipse-jetty-jmx-8.1.10.ebuild 1718 SHA256 9a19ca69200779dde1a52bc45b503f2748821ad490f9a168fac16beae8dc7595 SHA512 eb6511da27a94ef42931e504ff182efc5e78a17ec121cfd3e62e5a01a05915222d8a952dfc7e86e1ecfb18df9a1c7c32b796bd8c81372fd870ba4bc4c6630659 WHIRLPOOL 1e95b03159d5e983695d7971e448bdd50e6792960d7660a5e8f735852a3bd36675e2ae2962c5e7eda6766cfc30c39f0f5bd8aacbf2e9418a4dd6d8e340c4cd57 +MISC metadata.xml 299 SHA256 9bac827801b43a860e6da3c3ee3a654c1ac1e6ad98fa72642995445796fc0462 SHA512 a94fbb411e207e1542d8180aaa65bdacb57c2f4de079ba85a603befbdccbadf6062924a647bf082a0bcadda0a40b5ba224a202b369c4513ec4c790b7f322c05e WHIRLPOOL 5933974a7fc121fe7cc8089aa81ca421912a4efe806334041a6dac34a381e76c4e732977c499cf5ce30bc6cae13631721b15de75c8c15bcbd05236414c3a8d2f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRkx3SAAoJEJWyH81tNOV9B6oIAI6wPD+jBUO4mG1Svl+ObbG3 +HnvbKWdbS2OGzIyDZ5IEcM0scwrA8pgZu23LAS/NHKBmtZMHlhM8Yq0z5ZYFdAD5 +NySpm74EFS5LSqhrZ3lbC2T1JniqeZsDwsGn0y9Kzqjzjrz2MlZkU9hJqTE0vVRE +/qYgOVRQTOaUVifZFIH32/e38lAOXxX/ZylVPhYzmvtxn4aoqGp7ft7XUEIjTTbl +MaghneJMOlcEk/6vb5WfOmHTclsHIor8zFOB/QOkDoFYBvOR1qhPkTJ/2rzCkJ9J +KWWmS8JxHAZqhBm/skRnzuKsehsm4t/hhdDIj1kqGQG8HNHal3MrqGcWK+0574o= +=x0Mf +-----END PGP SIGNATURE----- diff --git a/dev-java/eclipse-jetty-jmx/eclipse-jetty-jmx-8.1.10.ebuild b/dev-java/eclipse-jetty-jmx/eclipse-jetty-jmx-8.1.10.ebuild new file mode 100644 index 0000000..0f74784 --- /dev/null +++ b/dev-java/eclipse-jetty-jmx/eclipse-jetty-jmx-8.1.10.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +JAVA_PKG_IUSE="test" + +inherit java-pkg-2 java-ant-2 java-osgi + +DESCRIPTION="Eclipse Jetty JMX" +HOMEPAGE="http://www.eclipse.org/jetty/" +LICENSE="Apache-2.0 EPL-1.0" + +BUILD_DATE="20130312" + +MY_PV="${PV}.v${BUILD_DATE}" +MY_P="${PN/eclipse-/}-${MY_PV}" + +SRC_URI="http://repo1.maven.org/maven2/org/eclipse/jetty/${PN/eclipse-/}/${MY_PV}/${MY_P}-sources.jar" +SLOT="8" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}" + +COMMON_DEPEND="dev-java/eclipse-jetty-util:8" + +DEPEND="${COMMON_DEPEND} + >=virtual/jdk-1.7 + dev-java/slf4j-api:0 + test? ( + dev-java/ant-junit:0 + dev-java/junit:0 + ) + java-virtuals/servlet-api:3.0" + +RDEPEND="${COMMON_DEPEND} + >=virtual/jre-1.7" + +java_prepare() { + cd "${S}" || die + cp "${FILESDIR}"/${P}-build.xml build.xml || die + sed -i 's/manifest=".*"/manifest="META-INF\/MANIFEST.MF"/g' build.xml || die + sed -i 's/\(<mkdir dir="${maven.build.outputDir}"\/>\)/\1<javac srcdir="." destdir="${maven.build.outputDir}" \/>/g' build.xml || die + + for FILE in $(find . -name '*.java') ; do + echo "Processing ${FILE} ..." + sed -i 's/org.mortbay\(\|.util\)/org.eclipse.jetty.util/g' ${FILE} || die + done +} + +EANT_TEST_GENTOO_CLASSPATH="junit" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_compile() { + EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar eclipse-jetty-util-8 eclipse-jetty-util.jar):$(java-pkg_getjar --build-only servlet-api-3.0 servlet-api.jar):$(java-pkg_getjar --build-only slf4j-api slf4j-api.jar)" + + java-pkg-2_src_compile +} + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-osgi_newjar-fromfile target/${MY_P}.jar META-INF/MANIFEST.MF org.eclipse.jetty.jmx +}
\ No newline at end of file diff --git a/dev-java/eclipse-jetty-jmx/files/eclipse-jetty-jmx-8.1.10-build.xml b/dev-java/eclipse-jetty-jmx/files/eclipse-jetty-jmx-8.1.10-build.xml new file mode 100644 index 0000000..6638a0b --- /dev/null +++ b/dev-java/eclipse-jetty-jmx/files/eclipse-jetty-jmx-8.1.10-build.xml @@ -0,0 +1,170 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- ====================================================================== --> +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> +<!-- ====================================================================== --> + +<!-- ====================================================================== --> +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> +<!-- ====================================================================== --> +<!-- --> +<!-- Any modifications will be overwritten. --> +<!-- --> +<!-- Generated by Maven Ant Plugin on 5/12/13 3:15 PM --> +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> +<!-- --> +<!-- ====================================================================== --> + +<project name="jetty-jmx-from-maven" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Build environment properties --> + <!-- ====================================================================== --> + + <property file="${user.home}/.m2/maven.properties"/> + <property file="maven-build.properties"/> + + <property name="maven.build.finalName" value="jetty-jmx-8.1.10.v20130312"/> + <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/main/java"/> + <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="src/test/java"/> + <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.repo.local" value="${user.home}/.m2/repository"/> + <property name="maven.settings.offline" value="false"/> + <property name="maven.settings.interactiveMode" value="true"/> + + <!-- ====================================================================== --> + <!-- Defining classpaths --> + <!-- ====================================================================== --> + + <path id="build.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + </path> + <path id="build.test.classpath"> + <pathelement location="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + </path> + + <!-- ====================================================================== --> + <!-- Cleaning up target --> + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> + <delete dir="${maven.build.dir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Compilation target --> + <!-- ====================================================================== --> + + <target name="compile" depends="get-deps" description="Compile the code"> + <mkdir dir="${maven.build.outputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Test-compilation target --> + <!-- ====================================================================== --> + + <target name="compile-tests" + depends="compile" + description="Compile the test code" + unless="maven.test.skip"> + <mkdir dir="${maven.build.testOutputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests, junit-missing" + unless="junit.skipped" + description="Run the test cases"/> + + <target name="test-junit-present"> + <available classname="junit.framework.Test" property="junit.present"/> + </target> + + <target name="test-junit-status" + depends="test-junit-present"> + <condition property="junit.missing"> + <and> + <isfalse value="${junit.present}"/> + <isfalse value="${maven.test.skip}"/> + </and> + </condition> + <condition property="junit.skipped"> + <or> + <isfalse value="${junit.present}"/> + <istrue value="${maven.test.skip}"/> + </or> + </condition> + </target> + + <target name="junit-missing" + depends="test-junit-status" + if="junit.missing"> + <echo>=================================== WARNING ===================================</echo> + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> + <echo>===============================================================================</echo> + </target> + + <!-- ====================================================================== --> + <!-- Javadoc target --> + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"/> + + <!-- ====================================================================== --> + <!-- Package target --> + <!-- ====================================================================== --> + + <target name="package" depends="compile,test" description="Package the application"> + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" + manifest="/var/tmp/portage/dev-java/jetty-jmx-9.0.3/work/target/classes/META-INF/MANIFEST.MF" + 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"/> + + <!-- ====================================================================== --> + <!-- Download dependencies target --> + <!-- ====================================================================== --> + + <target name="test-offline"> + <condition property="maven.mode.offline"> + <equals arg1="${maven.settings.offline}" arg2="true"/> + </condition> + </target> + + <target name="get-deps" + depends="test-offline" + description="Download all dependencies" + unless="maven.mode.offline"> + <mkdir dir="${maven.repo.local}"/> + <mkdir dir="${maven.repo.local}/junit/junit/4.8.1"/> + <get src="http://repo.maven.apache.org/maven2/junit/junit/4.8.1/junit-4.8.1.jar" + dest="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + </target> + +</project> diff --git a/dev-java/eclipse-jetty-jmx/metadata.xml b/dev-java/eclipse-jetty-jmx/metadata.xml new file mode 100644 index 0000000..05acf30 --- /dev/null +++ b/dev-java/eclipse-jetty-jmx/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> + <longdescription> + Eclipse Jetty JMX + </longdescription> +</pkgmetadata> diff --git a/dev-java/eclipse-jetty-security/Manifest b/dev-java/eclipse-jetty-security/Manifest new file mode 100644 index 0000000..ed3dd5c --- /dev/null +++ b/dev-java/eclipse-jetty-security/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX eclipse-jetty-security-8.1.10-build.xml 11647 SHA256 fd10cde46607f15cd67351c5163be2151976abeb18dc8490adbdbf2d666c704a SHA512 c3feab25266a7f08f4af6ba79898824a0fc6ceb71af7d56b8f3ad654726200bc22a88d430e18f1ed57aedc34b98c63c3d4338cb7ddc5707c09db69e3263bd77f WHIRLPOOL c5dd530a29075f45fd56c70c1e7185a162c45e4dd2c2b7adc21de8736e7c74456fcdd04ca03d1d3240446ad1fe72236a0c17d1625e2d7df64482d944fe883834 +DIST jetty-security-8.1.10.v20130312-sources.jar 62212 SHA256 84e971b42d6d2249c4df7cc9bcc725f94fef68e55b29a31c467b39c9ae18fb86 SHA512 1775d6ba71f669d043152a6351cb014fbd9ae3736d20c671de1d5a1de9bf827d89a7254de4dcf6fb0869af17eb56b84f222d5eab9887ed185b2d48d9a7d85553 WHIRLPOOL 1b1f7db30aed51605ab2c4992a1c12f9538eb410929c17d168ec2771871bf081217fade032d17d35361042101c68935bdfb7d932e6abd7146e089a5d9712271d +EBUILD eclipse-jetty-security-8.1.10.ebuild 1452 SHA256 95ea750fe473d90b21bc1ac9bbf4ba09494a5668e7790462a33ac072cbd48c5b SHA512 0c331e3a3fbdffef2263faa3197cafd7667612f6c66edb2ed8168b5a3cd092615f5875fa2561e01b8d5891bd1e2c40d970f95e43de045bd500c19b3780064524 WHIRLPOOL 07dfb56054d29f57b763013be442c37f17564827e78f449e6745fc662946aec04adbd4bd71d44dddbad6c9365d076705db493fc047a75bd00f03cb89a9347ee6 +MISC metadata.xml 304 SHA256 bd5db6b42497343f43a39d41514167be22362c1e21e2fa7472a1ccf9d5031a51 SHA512 1d8b5ad48c2d1b7f8ee28599dfd23b1e8f5335a74c6312a3d5cff5b37cc3a1d52ff057eceb18f95482b45b7bf97004dc62573379b74b65afa531cc28fd1867c9 WHIRLPOOL 04d5aef75182df974dd35a398024cc4278788c7405e71b6bfd3658918c3338eb7fca3d9a80a0ef583e2c7cec3bd2f8ea799b9f4ce0cf5c44f18e6349b5cfa24a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRkx3YAAoJEJWyH81tNOV9pI8IAJwetCZLnj8P82kVN6Ves/YA +CjrvcVRrwogmNC4c0FKN0AaxPY+PNEnqS79YVQ/A5gy9FStyClHOflPBTS0sSctz +0xqqnbNNdir0vOQ+nCIRZnyGB1htMRUZFqEARzgEIT2rnc6hN1OX/Kl1d9SlyqyE +II8A5ZS15P0TYnQOHEaJt3mxcZjWtxlnjhVCOqpiX57UUmA4LLCcmpm3yx86vWKH +BGnkUm1tL75/AKD8t9JK9e+U7Pk+J/Yssu5RILJ0WYrUD4+BEzDDOaBEvb6M09xM +BBTsf7B+QncNDOcCdDRSwlaEgc6vomfFKI4AXZ3MXF5+G8bHKPWkLdvTwVKfuJ0= +=Pq6Y +-----END PGP SIGNATURE----- diff --git a/dev-java/eclipse-jetty-security/eclipse-jetty-security-8.1.10.ebuild b/dev-java/eclipse-jetty-security/eclipse-jetty-security-8.1.10.ebuild new file mode 100644 index 0000000..950898b --- /dev/null +++ b/dev-java/eclipse-jetty-security/eclipse-jetty-security-8.1.10.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +JAVA_PKG_IUSE="test" + +inherit java-pkg-2 java-ant-2 java-osgi + +DESCRIPTION="Eclipse Jetty Security" +HOMEPAGE="http://www.eclipse.org/jetty/" +LICENSE="Apache-2.0 EPL-1.0" + +BUILD_DATE="20130312" + +MY_PV="${PV}.v${BUILD_DATE}" +MY_P="${PN/eclipse-/}-${MY_PV}" + +SRC_URI="http://repo1.maven.org/maven2/org/eclipse/jetty/${PN/eclipse-/}/${MY_PV}/${MY_P}-sources.jar" +SLOT="8" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}" + +COMMON_DEPEND="dev-java/eclipse-jetty-http:8 + dev-java/eclipse-jetty-server:8 + dev-java/eclipse-jetty-util:8 + java-virtuals/servlet-api:3.0" + +DEPEND="${COMMON_DEPEND} + >=virtual/jdk-1.7 + test? ( + dev-java/ant-junit:0 + dev-java/junit:0 + )" + +RDEPEND="${COMMON_DEPEND} + >=virtual/jre-1.7" + +java_prepare() { + cd "${S}" || die + cp "${FILESDIR}"/${P}-build.xml build.xml || die + sed -i 's/manifest=".*"/manifest="META-INF\/MANIFEST.MF"/g' build.xml || die + sed -i 's/\(<mkdir dir="${maven.build.outputDir}"\/>\)/\1<javac srcdir="." destdir="${maven.build.outputDir}" \/>/g' build.xml || die +} + +EANT_GENTOO_CLASSPATH="eclipse-jetty-util-8,eclipse-jetty-http-8,eclipse-jetty-server-8,servlet-api-3.0" +EANT_TEST_GENTOO_CLASSPATH="junit" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-osgi_newjar-fromfile target/${MY_P}.jar META-INF/MANIFEST.MF org.eclipse.jetty.security +}
\ No newline at end of file diff --git a/dev-java/eclipse-jetty-security/files/eclipse-jetty-security-8.1.10-build.xml b/dev-java/eclipse-jetty-security/files/eclipse-jetty-security-8.1.10-build.xml new file mode 100644 index 0000000..eab0a3e --- /dev/null +++ b/dev-java/eclipse-jetty-security/files/eclipse-jetty-security-8.1.10-build.xml @@ -0,0 +1,205 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- ====================================================================== --> +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> +<!-- ====================================================================== --> + +<!-- ====================================================================== --> +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> +<!-- ====================================================================== --> +<!-- --> +<!-- Any modifications will be overwritten. --> +<!-- --> +<!-- Generated by Maven Ant Plugin on 5/12/13 3:32 PM --> +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> +<!-- --> +<!-- ====================================================================== --> + +<project name="jetty-security-from-maven" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Build environment properties --> + <!-- ====================================================================== --> + + <property file="${user.home}/.m2/maven.properties"/> + <property file="maven-build.properties"/> + + <property name="maven.build.finalName" value="jetty-security-8.1.10.v20130312"/> + <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/main/java"/> + <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="src/test/java"/> + <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.repo.local" value="${user.home}/.m2/repository"/> + <property name="maven.settings.offline" value="false"/> + <property name="maven.settings.interactiveMode" value="true"/> + + <!-- ====================================================================== --> + <!-- Defining classpaths --> + <!-- ====================================================================== --> + + <path id="build.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-server/8.1.3.v20120416/jetty-server-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + </path> + <path id="build.test.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-server/8.1.3.v20120416/jetty-server-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar"/> + </path> + + <!-- ====================================================================== --> + <!-- Cleaning up target --> + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> + <delete dir="${maven.build.dir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Compilation target --> + <!-- ====================================================================== --> + + <target name="compile" depends="get-deps" description="Compile the code"> + <mkdir dir="${maven.build.outputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Test-compilation target --> + <!-- ====================================================================== --> + + <target name="compile-tests" + depends="compile" + description="Compile the test code" + unless="maven.test.skip"> + <mkdir dir="${maven.build.testOutputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests, junit-missing" + unless="junit.skipped" + description="Run the test cases"/> + + <target name="test-junit-present"> + <available classname="junit.framework.Test" property="junit.present"/> + </target> + + <target name="test-junit-status" + depends="test-junit-present"> + <condition property="junit.missing"> + <and> + <isfalse value="${junit.present}"/> + <isfalse value="${maven.test.skip}"/> + </and> + </condition> + <condition property="junit.skipped"> + <or> + <isfalse value="${junit.present}"/> + <istrue value="${maven.test.skip}"/> + </or> + </condition> + </target> + + <target name="junit-missing" + depends="test-junit-status" + if="junit.missing"> + <echo>=================================== WARNING ===================================</echo> + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> + <echo>===============================================================================</echo> + </target> + + <!-- ====================================================================== --> + <!-- Javadoc target --> + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"/> + + <!-- ====================================================================== --> + <!-- Package target --> + <!-- ====================================================================== --> + + <target name="package" depends="compile,test" description="Package the application"> + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" + manifest="/var/tmp/portage/dev-java/jetty-security-9.0.3/work/target/classes/META-INF/MANIFEST.MF" + 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"/> + + <!-- ====================================================================== --> + <!-- Download dependencies target --> + <!-- ====================================================================== --> + + <target name="test-offline"> + <condition property="maven.mode.offline"> + <equals arg1="${maven.settings.offline}" arg2="true"/> + </condition> + </target> + + <target name="get-deps" + depends="test-offline" + description="Download all dependencies" + unless="maven.mode.offline"> + <mkdir dir="${maven.repo.local}"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-server/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-server/8.1.3.v20120416/jetty-server-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-server/8.1.3.v20120416/jetty-server-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" + dest="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/junit/junit/4.8.1"/> + <get src="http://repo.maven.apache.org/maven2/junit/junit/4.8.1/junit-4.8.1.jar" + dest="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + </target> + +</project> diff --git a/dev-java/eclipse-jetty-security/metadata.xml b/dev-java/eclipse-jetty-security/metadata.xml new file mode 100644 index 0000000..ab8234c --- /dev/null +++ b/dev-java/eclipse-jetty-security/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> + <longdescription> + Eclipse Jetty Security + </longdescription> +</pkgmetadata> diff --git a/dev-java/eclipse-jetty-server/Manifest b/dev-java/eclipse-jetty-server/Manifest new file mode 100644 index 0000000..b2afff9 --- /dev/null +++ b/dev-java/eclipse-jetty-server/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX eclipse-jetty-server-8.1.10-build.xml 13932 SHA256 434ed61baf905df20bd83ab68def60937c05186dcce49e7174a23482d15841fe SHA512 8f607a135149d7f5791b42153645f2abfe87096d990c00e55096cd7ca69d204cd8927d228f7119a6c305a4cf7f71d3851e68eb135d40b2b04c57bd242bb01d57 WHIRLPOOL 1d25aa7c114ae3e6a020a7cc94f9446dac11c33e23e10cf2263b629c9492d7ddc50c5352fb6c146c1c09ebfece2ebc95a1cd8f68033ef6e935d3ee18d7fd2c2b +AUX eclipse-jetty-server-8.1.10-j6c.patch 2383 SHA256 6f22b462f4e83b2186a57f34aa39e9335ea4276047e6fd2399392cdaef0406dc SHA512 f1831489cfc420d3275fad87216da6317ddf816d22806900aea219f519accdfb9e5ab879c10a1ac178a6da71dd49257c5e92f0726682de1f07d2f47f2c03589c WHIRLPOOL 25c71b0455ee64dcdc80041abfb321711e4c6424befb3eb3e274831314caff56f009284fe4413f0994407c81aa3b9ecf8e640672537144e3dba51696bdd94a81 +DIST jetty-server-8.1.10.v20130312-sources.jar 635766 SHA256 c073fbdcf60e139792d1e6f7fa1715b7b26468651438d1f35b3f018dc4946975 SHA512 fca8cebed5ee893321b5f7e63b064ca91308506d2b565cc0fc3203ae51fa6f5d8e7f686c82cc5c1c432b5c580350627af175697e69e4d7af81f66503f3eddb4d WHIRLPOOL a89e12bd7cc84fe1315a8f67db01fb0a587135bd0954104bf7629ea889ef34731fca8b70e1d084f9a2d079fa4e229c21e8a297db523be4171606acbd199d34a4 +EBUILD eclipse-jetty-server-8.1.10.ebuild 2058 SHA256 07cb517d072c048b1acd69d611a5ab27256c54721ac1d6a951c53804e6170cca SHA512 b67d40264195e2a0473a1bda15271309cd02c97f422531e0b5e9b4864522adb7038461cd34fe242529cdb36bad38d272a0a546f576d80fe96396a203a188d7da WHIRLPOOL d6ac73d651d312b679f60d85d8dccf3967c514f1c111cf4e413b36e6516c4b18dd30d8e07751a4a1246ffaa10ed2ef70975a3b08f0f3191ba6980e7da697b53a +MISC metadata.xml 302 SHA256 2db5a816418583baff6f630e323b7e22161af9b2301530e939d12980f6f4efc3 SHA512 7a82f15ba4ad840a0aa6dfdb6571aace8049b04285300d3804fed160b3bb201c5f04a9ed6813ea49baab5465bc5c99f66db5af141020363bfbb24fd8aa53891a WHIRLPOOL a876b00279b91cfdd60200db343e76716b02e0251ab3cb9f935b9e766f15e2050228b08c6f40b87956ef86eb2ddc21f64d5de30369e4e3cecd93a07baabe7b40 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRkx3lAAoJEJWyH81tNOV96Q0H/R5jyncnfpTVIkTB0KtgBUtW +QqMp1maSP6A6rcJ05e2bQcax73sZcteZV0x7di0s5vVDrrUf4zDT3pM6QW5Upzzc +DxO0DrDK1LuxZT3Nh3yYcXykvCSCDtbv/hQk+rVPA6OrZn/18PH/dOXHUadLrLjy +hhDy9qgaGAp1o1ErWStdJgvHriEufSy0pYQKqnsl7wu4hzEojpj2TjkpIS2Lp0UD +aYQH/xCZ+P/fLnXsIugz4QGEfKgKT5uCy4u5fdH7DaBQgofDch1K9FzWQ4jzNdfd +A0P+9gko2GpTICP7oHe12hQa8MIpCnjd3LATOiXqKCZXe4C6J88h2YCalCbHGj4= +=D2r3 +-----END PGP SIGNATURE----- diff --git a/dev-java/eclipse-jetty-server/eclipse-jetty-server-8.1.10.ebuild b/dev-java/eclipse-jetty-server/eclipse-jetty-server-8.1.10.ebuild new file mode 100644 index 0000000..f7fe5f7 --- /dev/null +++ b/dev-java/eclipse-jetty-server/eclipse-jetty-server-8.1.10.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +JAVA_PKG_IUSE="test" + +inherit java-pkg-2 java-ant-2 java-osgi + +DESCRIPTION="Eclipse Jetty Server" +HOMEPAGE="http://www.eclipse.org/jetty/" +LICENSE="Apache-2.0 EPL-1.0" + +BUILD_DATE="20130312" + +MY_PV="${PV}.v${BUILD_DATE}" +MY_P="${PN/eclipse-/}-${MY_PV}" + +SRC_URI="http://repo1.maven.org/maven2/org/eclipse/jetty/aggregate/${PN/eclipse-/}/${MY_PV}/${MY_P}-sources.jar" +SLOT="8" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}" + +COMMON_DEPEND="dev-java/eclipse-jetty-jmx:8 + dev-java/slf4j-api:0 + java-virtuals/servlet-api:3.0" + +DEPEND="${COMMON_DEPEND} + >=virtual/jdk-1.7 + dev-java/eclipse-jetty-io:8 + dev-java/eclipse-jetty-http:8 + dev-java/eclipse-jetty-util:8 + test? ( + dev-java/junit:0 + dev-java/ant-junit:0 + )" + +RDEPEND="${COMMON_DEPEND} + >=virtual/jre-1.7" + +java_prepare() { + cd "${S}" || die + cp "${FILESDIR}"/${P}-build.xml build.xml || die + sed -i 's/manifest=".*"/manifest="META-INF\/MANIFEST.MF"/g' build.xml || die + sed -i 's/\(<mkdir dir="${maven.build.outputDir}"\/>\)/\1<javac srcdir="." destdir="${maven.build.outputDir}" \/>/g' build.xml || die + + epatch "${FILESDIR}"/${P}-j6c.patch + + for FILE in $(find . -name '*.java') ; do + echo "Processing ${FILE} ..." + sed -i 's/org.mortbay\(\|.util\)/org.eclipse.jetty.util/g' ${FILE} || die + done +} + +EANT_TEST_GENTOO_CLASSPATH="junit" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_compile() { + EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only eclipse-jetty-util-8 eclipse-jetty-util.jar):$(java-pkg_getjar --build-only eclipse-jetty-io-8 eclipse-jetty-io.jar):$(java-pkg_getjar eclipse-jetty-jmx-8 eclipse-jetty-jmx.jar):$(java-pkg_getjar --build-only eclipse-jetty-http-8 eclipse-jetty-http.jar):$(java-pkg_getjar servlet-api-3.0 servlet-api.jar):$(java-pkg_getjar slf4j-api slf4j-api.jar)" + + java-pkg-2_src_compile +} + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-osgi_newjar-fromfile target/${MY_P}.jar META-INF/MANIFEST.MF org.eclipse.jetty.server +}
\ No newline at end of file diff --git a/dev-java/eclipse-jetty-server/files/eclipse-jetty-server-8.1.10-build.xml b/dev-java/eclipse-jetty-server/files/eclipse-jetty-server-8.1.10-build.xml new file mode 100644 index 0000000..19a1910 --- /dev/null +++ b/dev-java/eclipse-jetty-server/files/eclipse-jetty-server-8.1.10-build.xml @@ -0,0 +1,235 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- ====================================================================== --> +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> +<!-- ====================================================================== --> + +<!-- ====================================================================== --> +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> +<!-- ====================================================================== --> +<!-- --> +<!-- Any modifications will be overwritten. --> +<!-- --> +<!-- Generated by Maven Ant Plugin on 5/12/13 1:43 PM --> +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> +<!-- --> +<!-- ====================================================================== --> + +<project name="jetty-server-from-maven" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Build environment properties --> + <!-- ====================================================================== --> + + <property file="${user.home}/.m2/maven.properties"/> + <property file="maven-build.properties"/> + + <property name="maven.build.finalName" value="jetty-server-8.1.10.v20130312"/> + <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/main/java"/> + <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="src/test/java"/> + <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.repo.local" value="${user.home}/.m2/repository"/> + <property name="maven.settings.offline" value="testResourceDir"/> + <property name="maven.settings.interactiveMode" value="true"/> + + <!-- ====================================================================== --> + <!-- Defining classpaths --> + <!-- ====================================================================== --> + + <path id="build.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-jmx/8.1.3.v20120416/jetty-jmx-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + </path> + <path id="build.test.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1/jetty-test-helper-1.6.1.jar"/> + <pathelement location="${maven.repo.local}/junit/junit-dep/4.8.1/junit-dep-4.8.1.jar"/> + <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2.1.jar"/> + <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-library/1.2.1/hamcrest-library-1.2.1.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-jmx/8.1.3.v20120416/jetty-jmx-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/mockito/mockito-core/1.8.5/mockito-core-1.8.5.jar"/> + <pathelement location="${maven.repo.local}/org/objenesis/objenesis/1.0/objenesis-1.0.jar"/> + </path> + + <!-- ====================================================================== --> + <!-- Cleaning up target --> + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> + <delete dir="${maven.build.dir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Compilation target --> + <!-- ====================================================================== --> + + <target name="compile" depends="get-deps" description="Compile the code"> + <mkdir dir="${maven.build.outputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Test-compilation target --> + <!-- ====================================================================== --> + + <target name="compile-tests" + depends="compile" + description="Compile the test code" + unless="maven.test.skip"> + <mkdir dir="${maven.build.testOutputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests, junit-missing" + unless="junit.skipped" + description="Run the test cases"/> + + <target name="test-junit-present"> + <available classname="junit.framework.Test" property="junit.present"/> + </target> + + <target name="test-junit-status" + depends="test-junit-present"> + <condition property="junit.missing"> + <and> + <isfalse value="${junit.present}"/> + <isfalse value="${maven.test.skip}"/> + </and> + </condition> + <condition property="junit.skipped"> + <or> + <isfalse value="${junit.present}"/> + <istrue value="${maven.test.skip}"/> + </or> + </condition> + </target> + + <target name="junit-missing" + depends="test-junit-status" + if="junit.missing"> + <echo>=================================== WARNING ===================================</echo> + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> + <echo>===============================================================================</echo> + </target> + + <!-- ====================================================================== --> + <!-- Javadoc target --> + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"/> + + <!-- ====================================================================== --> + <!-- Package target --> + <!-- ====================================================================== --> + + <target name="package" depends="compile,test" description="Package the application"> + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" + manifest="/var/tmp/portage/dev-java/jetty-server-8.1.9/work/target/classes/META-INF/MANIFEST.MF" + 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"/> + + <!-- ====================================================================== --> + <!-- Download dependencies target --> + <!-- ====================================================================== --> + + <target name="test-offline"> + <condition property="maven.mode.offline"> + <equals arg1="${maven.settings.offline}" arg2="true"/> + </condition> + </target> + + <target name="get-deps" + depends="test-offline" + description="Download all dependencies" + unless="maven.mode.offline"> + <mkdir dir="${maven.repo.local}"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1/jetty-test-helper-1.6.1.jar" + dest="${maven.repo.local}/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1/jetty-test-helper-1.6.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/junit/junit-dep/4.8.1"/> + <get src="http://repo.maven.apache.org/maven2/junit/junit-dep/4.8.1/junit-dep-4.8.1.jar" + dest="${maven.repo.local}/junit/junit-dep/4.8.1/junit-dep-4.8.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.2.1"/> + <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2.1.jar" + dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-library/1.2.1"/> + <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-library/1.2.1/hamcrest-library-1.2.1.jar" + dest="${maven.repo.local}/org/hamcrest/hamcrest-library/1.2.1/hamcrest-library-1.2.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" + dest="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-jmx/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jmx/8.1.3.v20120416/jetty-jmx-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-jmx/8.1.3.v20120416/jetty-jmx-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/mockito/mockito-core/1.8.5"/> + <get src="http://repo.maven.apache.org/maven2/org/mockito/mockito-core/1.8.5/mockito-core-1.8.5.jar" + dest="${maven.repo.local}/org/mockito/mockito-core/1.8.5/mockito-core-1.8.5.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/objenesis/objenesis/1.0"/> + <get src="http://repo.maven.apache.org/maven2/org/objenesis/objenesis/1.0/objenesis-1.0.jar" + dest="${maven.repo.local}/org/objenesis/objenesis/1.0/objenesis-1.0.jar" + usetimestamp="false" + ignoreerrors="true"/> + </target> + +</project> diff --git a/dev-java/eclipse-jetty-server/files/eclipse-jetty-server-8.1.10-j6c.patch b/dev-java/eclipse-jetty-server/files/eclipse-jetty-server-8.1.10-j6c.patch new file mode 100644 index 0000000..1b2d151 --- /dev/null +++ b/dev-java/eclipse-jetty-server/files/eclipse-jetty-server-8.1.10-j6c.patch @@ -0,0 +1,75 @@ +--- a/org/eclipse/jetty/continuation/Jetty6Continuation.java 2013-05-12 16:02:19.980222801 +0200 ++++ b/org/eclipse/jetty/continuation/Jetty6Continuation.java 2013-05-12 16:02:12.233556821 +0200 +@@ -44,7 +44,7 @@ + + private final ServletRequest _request; + private ServletResponse _response; +- private final org.mortbay.util.ajax.Continuation _j6Continuation; ++ private final Object _j6Continuation; + + private Throwable _retry; + private int _timeout; +@@ -55,7 +55,7 @@ + private boolean _responseWrapped=false; + private List<ContinuationListener> _listeners; + +- public Jetty6Continuation(ServletRequest request, org.mortbay.util.ajax.Continuation continuation) ++ public Jetty6Continuation(ServletRequest request, Object continuation) + { + if (!ContinuationFilter._initialized) + { +@@ -80,8 +80,8 @@ + if (_resumed) + throw new IllegalStateException(); + _completed=true; +- if (_j6Continuation.isPending()) +- _j6Continuation.resume(); ++// if (_j6Continuation.isPending()) ++// _j6Continuation.resume(); + } + } + +@@ -150,8 +150,8 @@ + if (_completed) + throw new IllegalStateException(); + _resumed=true; +- if (_j6Continuation.isPending()) +- _j6Continuation.resume(); ++// if (_j6Continuation.isPending()) ++// _j6Continuation.resume(); + } + } + +@@ -174,7 +174,7 @@ + _resumed=false; + _expired=false; + _completed=false; +- _j6Continuation.suspend(_timeout); ++// _j6Continuation.suspend(_timeout); + } + catch(Throwable retry) + { +@@ -192,7 +192,7 @@ + _resumed=false; + _expired=false; + _completed=false; +- _j6Continuation.suspend(_timeout); ++// _j6Continuation.suspend(_timeout); + } + catch(Throwable retry) + { +@@ -225,12 +225,12 @@ + public boolean enter(ServletResponse response) + { + _response=response; +- _expired=!_j6Continuation.isResumed(); ++// _expired=!_j6Continuation.isResumed(); + + if (_initial) + return true; + +- _j6Continuation.reset(); ++// _j6Continuation.reset(); + + if (_expired) + { diff --git a/dev-java/eclipse-jetty-server/metadata.xml b/dev-java/eclipse-jetty-server/metadata.xml new file mode 100644 index 0000000..453338b --- /dev/null +++ b/dev-java/eclipse-jetty-server/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> + <longdescription> + Eclipse Jetty Server + </longdescription> +</pkgmetadata> diff --git a/dev-java/eclipse-jetty-servlet/Manifest b/dev-java/eclipse-jetty-servlet/Manifest new file mode 100644 index 0000000..45101a4 --- /dev/null +++ b/dev-java/eclipse-jetty-servlet/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX eclipse-jetty-servlet-8.1.10-build.xml 14418 SHA256 0f4caddeb87b817215bf389fd7721728704f5594db7bd00aafff42e308efa6f2 SHA512 7471597c44ee0f6b325e7ce4e0a7baa4aaa8d9cb4d84698f7e0f9229e87dc8f6e5dbf74a9122dffc6116322705410f321e25d554f6061037fcf827bfcaaeff95 WHIRLPOOL d1002f8aadd9b3b567ed9abd05bbee312232546f3df22c6f7574df1f31ce061517e2d9c90e8cc6ee25855441ba04433e4b7333029fe8a250a4fe500c91644466 +DIST jetty-servlet-8.1.10.v20130312-sources.jar 58114 SHA256 00627c2a027abb260e88078dbb9b58947382d46e0787defa2bdc76f9fddd8a0f SHA512 a15e845a4ed2d7f0ca6ea32bb4b9f278e39faeb2b9c137bd32dd7370c4fe10972e32c1b7fb141fe0eb418b847adcf186afef2d1189a153b1468d410ca0e18e36 WHIRLPOOL 9d0cad2fc7a0981ad1c587442701ac70b55a1399c859250552806fa615bc395ee97c6cb29d0e56deb3902878c182bf8963f5eccd9a387a7f2990a52deaf757a8 +EBUILD eclipse-jetty-servlet-8.1.10.ebuild 1806 SHA256 c8fea86f2148d5453b052d431040524d947f927b7c45e8f8196a44613b1e14c1 SHA512 c7280474b8df78b1a3a6584bbbc0a3ef3799d219f55ade5df63ca580529876e4d1c67348115aaa2a51fe6fa322c6efd0ad3c93d0f19c776f2e8c145de0a91870 WHIRLPOOL 20f114c63f96d4a49a7888d276ef38c62899f25ba1580c995857d3c36d0bc59e9dc419a3ebf53287b0dd691ce2f3c45817f6e70530b5db59a5b89ffe17c31631 +MISC metadata.xml 303 SHA256 cdb0ac041d1a6c0b3b3d3f8903352813ba132aa7509e44b37b7ea468ebe5ba1b SHA512 292959d0cbd1d36a6e722ca1c351b74b3bd664c2180eea9cafc1b5e02efe3db10b8e3852cbebe7260a58c4687d46b3a5407cb6cc9f0dfe8783338ea9e59874c2 WHIRLPOOL 50e637a9d1e66889a86ee28100a5f233cb19ef377d25313c7d10bb0db61ece3119599427570526323af276bea301b6156205e8f749825003151a58a9f805c6ef +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEbBAEBCAAGBQJRkx3oAAoJEJWyH81tNOV9ayIH925B1Ygyj53eHLR6jh/4xv+1 +zugbB8hGbnR6q28OwChhBOGCN18m4EIPtbND6mVIe9i7HS8i7zuMzIE8DfZteve4 +WReZeh8bu52qGuGu3vIBPhSIQ2mJGEAC/M0g/E2nSlsPOZnePca9FWKlGMVFl3j9 +XypxRsZMrF3bk00hQy6VL0g09vZpyppbdwtc+iHS9xcTrQUuIUKmepuo6OTxTdFb +PJYmX6ahfXSpidhcsOcGIW9y6F0anYODa3Eaql2qGAa0ZqtpKxW84/Z9xfsbHiJT +jV8pka0qLZ6Edb1VbSPdOoDUpRYlr1Yct3F4cAoO17ItbgpTRUNn2Fj+GhM9jA== +=uMNA +-----END PGP SIGNATURE----- diff --git a/dev-java/eclipse-jetty-servlet/eclipse-jetty-servlet-8.1.10.ebuild b/dev-java/eclipse-jetty-servlet/eclipse-jetty-servlet-8.1.10.ebuild new file mode 100644 index 0000000..6cea3dd --- /dev/null +++ b/dev-java/eclipse-jetty-servlet/eclipse-jetty-servlet-8.1.10.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +JAVA_PKG_IUSE="test" + +inherit java-pkg-2 java-ant-2 java-osgi + +DESCRIPTION="Eclipse Jetty Servlet" +HOMEPAGE="http://www.eclipse.org/jetty/" +LICENSE="Apache-2.0 EPL-1.0" + +BUILD_DATE="20130312" + +MY_PV="${PV}.v${BUILD_DATE}" +MY_P="${PN/eclipse-/}-${MY_PV}" + +SRC_URI="http://repo1.maven.org/maven2/org/eclipse/jetty/${PN/eclipse-/}/${MY_PV}/${MY_P}-sources.jar" +SLOT="8" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}" + +COMMON_DEPEND="dev-java/eclipse-jetty-http:8 + dev-java/eclipse-jetty-io:8 + dev-java/eclipse-jetty-jmx:8 + dev-java/eclipse-jetty-security:8 + dev-java/eclipse-jetty-server:8 + dev-java/eclipse-jetty-util:8 + java-virtuals/servlet-api:3.0" + +DEPEND="${COMMON_DEPEND} + >=virtual/jdk-1.7 + test? ( + dev-java/ant-junit:0 + dev-java/junit:0 + )" + +RDEPEND="${COMMON_DEPEND} + >=virtual/jre-1.7" + +java_prepare() { + cd "${S}" || die + cp "${FILESDIR}"/${P}-build.xml build.xml || die + sed -i 's/manifest=".*"/manifest="META-INF\/MANIFEST.MF"/g' build.xml || die + sed -i 's/\(<mkdir dir="${maven.build.outputDir}"\/>\)/\1<javac srcdir="." destdir="${maven.build.outputDir}" \/>/g' build.xml || die + + # epatch "${FILESDIR}"/${P}-j6c.patch + + for FILE in $(find . -name '*.java') ; do + echo "Processing ${FILE} ..." + sed -i 's/org.mortbay\(\|.util\)/org.eclipse.jetty.util/g' ${FILE} || die + done +} + +EANT_GENTOO_CLASSPATH="servlet-api-3.0,eclipse-jetty-http-8,eclipse-jetty-io-8,eclipse-jetty-security-8,eclipse-jetty-server-8,eclipse-jetty-util-8,eclipse-jetty-jmx-8" +EANT_TEST_GENTOO_CLASSPATH="junit" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-osgi_newjar-fromfile target/${MY_P}.jar META-INF/MANIFEST.MF org.eclipse.jetty.servlet +}
\ No newline at end of file diff --git a/dev-java/eclipse-jetty-servlet/files/eclipse-jetty-servlet-8.1.10-build.xml b/dev-java/eclipse-jetty-servlet/files/eclipse-jetty-servlet-8.1.10-build.xml new file mode 100644 index 0000000..93a7f97 --- /dev/null +++ b/dev-java/eclipse-jetty-servlet/files/eclipse-jetty-servlet-8.1.10-build.xml @@ -0,0 +1,237 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- ====================================================================== --> +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> +<!-- ====================================================================== --> + +<!-- ====================================================================== --> +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> +<!-- ====================================================================== --> +<!-- --> +<!-- Any modifications will be overwritten. --> +<!-- --> +<!-- Generated by Maven Ant Plugin on 5/12/13 2:11 PM --> +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> +<!-- --> +<!-- ====================================================================== --> + +<project name="jetty-servlet-from-maven" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Build environment properties --> + <!-- ====================================================================== --> + + <property file="${user.home}/.m2/maven.properties"/> + <property file="maven-build.properties"/> + + <property name="maven.build.finalName" value="jetty-servlet-8.1.10.v20130312"/> + <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/main/java"/> + <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="src/test/java"/> + <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.repo.local" value="${user.home}/.m2/repository"/> + <property name="maven.settings.offline" value="false"/> + <property name="maven.settings.interactiveMode" value="true"/> + + <!-- ====================================================================== --> + <!-- Defining classpaths --> + <!-- ====================================================================== --> + + <path id="build.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-security/8.1.3.v20120416/jetty-security-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-server/8.1.3.v20120416/jetty-server-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-jmx/8.1.3.v20120416/jetty-jmx-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + </path> + <path id="build.test.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-security/8.1.3.v20120416/jetty-security-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-server/8.1.3.v20120416/jetty-server-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-jmx/8.1.3.v20120416/jetty-jmx-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1/jetty-test-helper-1.6.1.jar"/> + <pathelement location="${maven.repo.local}/junit/junit-dep/4.8.1/junit-dep-4.8.1.jar"/> + <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2.1.jar"/> + <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-library/1.2.1/hamcrest-library-1.2.1.jar"/> + </path> + + <!-- ====================================================================== --> + <!-- Cleaning up target --> + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> + <delete dir="${maven.build.dir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Compilation target --> + <!-- ====================================================================== --> + + <target name="compile" depends="get-deps" description="Compile the code"> + <mkdir dir="${maven.build.outputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Test-compilation target --> + <!-- ====================================================================== --> + + <target name="compile-tests" + depends="compile" + description="Compile the test code" + unless="maven.test.skip"> + <mkdir dir="${maven.build.testOutputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests, junit-missing" + unless="junit.skipped" + description="Run the test cases"/> + + <target name="test-junit-present"> + <available classname="junit.framework.Test" property="junit.present"/> + </target> + + <target name="test-junit-status" + depends="test-junit-present"> + <condition property="junit.missing"> + <and> + <isfalse value="${junit.present}"/> + <isfalse value="${maven.test.skip}"/> + </and> + </condition> + <condition property="junit.skipped"> + <or> + <isfalse value="${junit.present}"/> + <istrue value="${maven.test.skip}"/> + </or> + </condition> + </target> + + <target name="junit-missing" + depends="test-junit-status" + if="junit.missing"> + <echo>=================================== WARNING ===================================</echo> + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> + <echo>===============================================================================</echo> + </target> + + <!-- ====================================================================== --> + <!-- Javadoc target --> + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"/> + + <!-- ====================================================================== --> + <!-- Package target --> + <!-- ====================================================================== --> + + <target name="package" depends="compile,test" description="Package the application"> + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" + manifest="/var/tmp/portage/dev-java/jetty-servlet-8.1.9/work/target/classes/META-INF/MANIFEST.MF" + 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"/> + + <!-- ====================================================================== --> + <!-- Download dependencies target --> + <!-- ====================================================================== --> + + <target name="test-offline"> + <condition property="maven.mode.offline"> + <equals arg1="${maven.settings.offline}" arg2="true"/> + </condition> + </target> + + <target name="get-deps" + depends="test-offline" + description="Download all dependencies" + unless="maven.mode.offline"> + <mkdir dir="${maven.repo.local}"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-security/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-security/8.1.3.v20120416/jetty-security-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-security/8.1.3.v20120416/jetty-security-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-server/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-server/8.1.3.v20120416/jetty-server-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-server/8.1.3.v20120416/jetty-server-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" + dest="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-jmx/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jmx/8.1.3.v20120416/jetty-jmx-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-jmx/8.1.3.v20120416/jetty-jmx-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1/jetty-test-helper-1.6.1.jar" + dest="${maven.repo.local}/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1/jetty-test-helper-1.6.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/junit/junit-dep/4.8.1"/> + <get src="http://repo.maven.apache.org/maven2/junit/junit-dep/4.8.1/junit-dep-4.8.1.jar" + dest="${maven.repo.local}/junit/junit-dep/4.8.1/junit-dep-4.8.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.2.1"/> + <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2.1.jar" + dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-library/1.2.1"/> + <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-library/1.2.1/hamcrest-library-1.2.1.jar" + dest="${maven.repo.local}/org/hamcrest/hamcrest-library/1.2.1/hamcrest-library-1.2.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + </target> + +</project> diff --git a/dev-java/eclipse-jetty-servlet/metadata.xml b/dev-java/eclipse-jetty-servlet/metadata.xml new file mode 100644 index 0000000..b309739 --- /dev/null +++ b/dev-java/eclipse-jetty-servlet/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> + <longdescription> + Eclipse Jetty Servlet + </longdescription> +</pkgmetadata> diff --git a/dev-java/eclipse-jetty-util/Manifest b/dev-java/eclipse-jetty-util/Manifest new file mode 100644 index 0000000..1c7d837 --- /dev/null +++ b/dev-java/eclipse-jetty-util/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX eclipse-jetty-util-8.1.10-build.xml 10755 SHA256 66c355dfc3637306b284e3f3583c60f4f76e664b17f7caac80cc3044a1b7124b SHA512 e64782372f482fb8a3cbc94fd543d1829fc74a96bb79fb068e3bd56a05e2ecf950a2ac8244d1dc1260dde03e33fc5a1ffad8c7888deba69b0e14fe716a41a67b WHIRLPOOL fc29b413e447154770760ee34aab75454abf553430d58c89cdfb6dc5e7b3497b3905c01af00802b3d9404b0258db15fc25065d46cae2e07ed65a6276daf32e86 +DIST jetty-util-8.1.10.v20130312-sources.jar 194076 SHA256 c68898bf496d34c494929b0106d75a82155440fbb6da24faea1462aa50646180 SHA512 94e37defaf9bd0453cb0d75f445fdef982f59f77e66af5409ae54b29ee68fddab6f6305f1d8154edf5e5352d9e61bc632709ad5e606e13182851a7598cfd773b WHIRLPOOL 0cf0dc1e588a33600b18d496bac995a66f649e35a40b5964ced25903bcbb8d6dca536d45383ba35c0bb838ce94337964e489663a6213841341c267c82eea281a +EBUILD eclipse-jetty-util-8.1.10.ebuild 1316 SHA256 325ec4aed70ae2092d234328158ba48574030500c9a510a5e669d3f6165d9b75 SHA512 5c9758fea6ace56dedef964e0f8e4d9dd23ea70ae109a100432b6a8761979b14c6f7ff87fff3cd1a9186efb92c65a007e234e6349d52c5eabdaa29d44df8b080 WHIRLPOOL 227a7da721dfc80ec08872dc99001e6a175df22abedd8f6c91f166e9b08f212cd34af8ae0b23f9c842df8fdaf70257e2a9c4439b22440f0aa290ef7741cc4184 +MISC metadata.xml 300 SHA256 4e747eb00efaaeebdf0162494155d253776168bc8bc2c11683b1a2e65c2b2811 SHA512 0176e840d3e8b3707064e294c95c64fb8c311b8f6c402156fb2b64360bd98a573953c8fbb3c9569a6c955a9abc3a308f5234a5e5fc26fe795291358f7a055f9b WHIRLPOOL 09d36c84ebd1548d344c35bbef7e40afd51a78a73c728e6bd2d8257a10d6bb1e570c60b9b191253998734296a4978ab87076b1881f950854c102b2c0f74c6693 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRkx3rAAoJEJWyH81tNOV9ZuMIAJ+WQUopQ2nattJVuyNkfLJV +qWT3OiARQe9chN38iSd06QwxhuqRNG31yxkVz/V08BOYXcaDM5UmZGioxbwL49I5 +yiiP6Rqswqs0YpoIyiT3JMJUCc7O1LiXpEPdt9eXe5n5S0NfWJEC9YcieRvIcFbA +RafjTc8DQV38QMgCxQ/gmdaWZYns/uEbqKrUSUI/YlG9CZQ2LN3GxuVSs1Y+FL0N +0rUe5dtSLHrGx+VgYukDos2LZaknNh/t6A92GYPsah2fEzZSQ2ZdXPyPAyBRxn5L +S4AT/v06T8Z0fR727UM34g1+SqVMuNjUjnTNWZMhs23qQMDAoceR73u78wyNDPE= +=sjRv +-----END PGP SIGNATURE----- diff --git a/dev-java/eclipse-jetty-util/eclipse-jetty-util-8.1.10.ebuild b/dev-java/eclipse-jetty-util/eclipse-jetty-util-8.1.10.ebuild new file mode 100644 index 0000000..eed97fe --- /dev/null +++ b/dev-java/eclipse-jetty-util/eclipse-jetty-util-8.1.10.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +JAVA_PKG_IUSE="test" + +inherit java-pkg-2 java-ant-2 java-osgi + +DESCRIPTION="Eclipse Jetty Util" +HOMEPAGE="http://www.eclipse.org/jetty/" +LICENSE="Apache-2.0 EPL-1.0" + +BUILD_DATE="20130312" + +MY_PV="${PV}.v${BUILD_DATE}" +MY_P="${PN/eclipse-/}-${MY_PV}" + +SRC_URI="http://repo1.maven.org/maven2/org/eclipse/jetty/${PN/eclipse-/}/${MY_PV}/${MY_P}-sources.jar" +SLOT="8" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}" + +COMMON_DEPEND="dev-java/slf4j-api:0 + java-virtuals/servlet-api:3.0" + +DEPEND="${COMMON_DEPEND} + test? ( + dev-java/ant-junit:0 + dev-java/junit:0 + ) + >=virtual/jdk-1.7" + +RDEPEND="${COMMON_DEPEND} + >=virtual/jre-1.7" + +java_prepare() { + cd "${S}" || die + cp "${FILESDIR}"/${P}-build.xml build.xml || die + sed -i 's/manifest=".*"/manifest="META-INF\/MANIFEST.MF"/g' build.xml || die + sed -i 's/\(<mkdir dir="${maven.build.outputDir}"\/>\)/\1<javac srcdir="." destdir="${maven.build.outputDir}" \/>/g' build.xml || die +} + +EANT_GENTOO_CLASSPATH="slf4j-api,servlet-api-3.0" +EANT_TEST_GENTOO_CLASSPATH="junit" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-osgi_newjar-fromfile target/${MY_P}.jar META-INF/MANIFEST.MF org.eclipse.jetty.util +}
\ No newline at end of file diff --git a/dev-java/eclipse-jetty-util/files/eclipse-jetty-util-8.1.10-build.xml b/dev-java/eclipse-jetty-util/files/eclipse-jetty-util-8.1.10-build.xml new file mode 100644 index 0000000..f760c52 --- /dev/null +++ b/dev-java/eclipse-jetty-util/files/eclipse-jetty-util-8.1.10-build.xml @@ -0,0 +1,201 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- ====================================================================== --> +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> +<!-- ====================================================================== --> + +<!-- ====================================================================== --> +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> +<!-- ====================================================================== --> +<!-- --> +<!-- Any modifications will be overwritten. --> +<!-- --> +<!-- Generated by Maven Ant Plugin on 5/12/13 2:35 PM --> +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> +<!-- --> +<!-- ====================================================================== --> + +<project name="jetty-util-from-maven" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Build environment properties --> + <!-- ====================================================================== --> + + <property file="${user.home}/.m2/maven.properties"/> + <property file="maven-build.properties"/> + + <property name="maven.build.finalName" value="jetty-util-8.1.10.v20130312"/> + <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/main/java"/> + <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="src/test/java"/> + <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.repo.local" value="${user.home}/.m2/repository"/> + <property name="maven.settings.offline" value="false"/> + <property name="maven.settings.interactiveMode" value="true"/> + + <!-- ====================================================================== --> + <!-- Defining classpaths --> + <!-- ====================================================================== --> + + <path id="build.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar"/> + <pathelement location="${maven.repo.local}/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar"/> + </path> + <path id="build.test.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1/jetty-test-helper-1.6.1.jar"/> + <pathelement location="${maven.repo.local}/junit/junit-dep/4.8.1/junit-dep-4.8.1.jar"/> + <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2.1.jar"/> + <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-library/1.2.1/hamcrest-library-1.2.1.jar"/> + <pathelement location="${maven.repo.local}/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar"/> + <pathelement location="${maven.repo.local}/org/slf4j/slf4j-jdk14/1.6.1/slf4j-jdk14-1.6.1.jar"/> + </path> + + <!-- ====================================================================== --> + <!-- Cleaning up target --> + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> + <delete dir="${maven.build.dir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Compilation target --> + <!-- ====================================================================== --> + + <target name="compile" depends="get-deps" description="Compile the code"> + <mkdir dir="${maven.build.outputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Test-compilation target --> + <!-- ====================================================================== --> + + <target name="compile-tests" + depends="compile" + description="Compile the test code" + unless="maven.test.skip"> + <mkdir dir="${maven.build.testOutputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests, junit-missing" + unless="junit.skipped" + description="Run the test cases"/> + + <target name="test-junit-present"> + <available classname="junit.framework.Test" property="junit.present"/> + </target> + + <target name="test-junit-status" + depends="test-junit-present"> + <condition property="junit.missing"> + <and> + <isfalse value="${junit.present}"/> + <isfalse value="${maven.test.skip}"/> + </and> + </condition> + <condition property="junit.skipped"> + <or> + <isfalse value="${junit.present}"/> + <istrue value="${maven.test.skip}"/> + </or> + </condition> + </target> + + <target name="junit-missing" + depends="test-junit-status" + if="junit.missing"> + <echo>=================================== WARNING ===================================</echo> + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> + <echo>===============================================================================</echo> + </target> + + <!-- ====================================================================== --> + <!-- Javadoc target --> + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"/> + + <!-- ====================================================================== --> + <!-- Package target --> + <!-- ====================================================================== --> + + <target name="package" depends="compile,test" description="Package the application"> + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" + manifest="/var/tmp/portage/dev-java/jetty-util-8.1.9/work/target/classes/META-INF/MANIFEST.MF" + 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"/> + + <!-- ====================================================================== --> + <!-- Download dependencies target --> + <!-- ====================================================================== --> + + <target name="test-offline"> + <condition property="maven.mode.offline"> + <equals arg1="${maven.settings.offline}" arg2="true"/> + </condition> + </target> + + <target name="get-deps" + depends="test-offline" + description="Download all dependencies" + unless="maven.mode.offline"> + <mkdir dir="${maven.repo.local}"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" + dest="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1/jetty-test-helper-1.6.1.jar" + dest="${maven.repo.local}/org/eclipse/jetty/toolchain/jetty-test-helper/1.6.1/jetty-test-helper-1.6.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/junit/junit-dep/4.8.1"/> + <get src="http://repo.maven.apache.org/maven2/junit/junit-dep/4.8.1/junit-dep-4.8.1.jar" + dest="${maven.repo.local}/junit/junit-dep/4.8.1/junit-dep-4.8.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.2.1"/> + <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2.1.jar" + dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-library/1.2.1"/> + <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-library/1.2.1/hamcrest-library-1.2.1.jar" + dest="${maven.repo.local}/org/hamcrest/hamcrest-library/1.2.1/hamcrest-library-1.2.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/slf4j/slf4j-api/1.6.1"/> + <get src="http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar" + dest="${maven.repo.local}/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/slf4j/slf4j-jdk14/1.6.1"/> + <get src="http://repo.maven.apache.org/maven2/org/slf4j/slf4j-jdk14/1.6.1/slf4j-jdk14-1.6.1.jar" + dest="${maven.repo.local}/org/slf4j/slf4j-jdk14/1.6.1/slf4j-jdk14-1.6.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + </target> + +</project> diff --git a/dev-java/eclipse-jetty-util/metadata.xml b/dev-java/eclipse-jetty-util/metadata.xml new file mode 100644 index 0000000..a0cd1a3 --- /dev/null +++ b/dev-java/eclipse-jetty-util/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> + <longdescription> + Eclipse Jetty Util + </longdescription> +</pkgmetadata> |