diff options
author | Tom Wijsman <TomWij@live.com> | 2013-05-15 09:06:37 +0200 |
---|---|---|
committer | Tom Wijsman <TomWij@live.com> | 2013-05-15 09:06:37 +0200 |
commit | 2ac0a0aad36b0b16a3e44e4dac3d831d03f1b947 (patch) | |
tree | 1cd4f0aa77a3a27cedb6f798f1588bbe48cea26a /dev-java/jetty-server | |
parent | Added Eclipse Jetty dependencies for Eclipse SDK. (diff) | |
download | TomWij-2ac0a0aad36b0b16a3e44e4dac3d831d03f1b947.tar.gz TomWij-2ac0a0aad36b0b16a3e44e4dac3d831d03f1b947.tar.bz2 TomWij-2ac0a0aad36b0b16a3e44e4dac3d831d03f1b947.zip |
Dropped the eclipse- prefix since Eclipse took over the Jetty project and therefore there is no separation necessary.
Package-Manager: portage-2.1.11.63
Manifest-Sign-Key: 6D34E57D
Diffstat (limited to 'dev-java/jetty-server')
-rw-r--r-- | dev-java/jetty-server/Manifest | 19 | ||||
-rw-r--r-- | dev-java/jetty-server/files/jetty-server-8.1.10-build.xml | 235 | ||||
-rw-r--r-- | dev-java/jetty-server/files/jetty-server-8.1.10-j6c.patch | 75 | ||||
-rw-r--r-- | dev-java/jetty-server/jetty-server-8.1.10.ebuild | 72 | ||||
-rw-r--r-- | dev-java/jetty-server/metadata.xml | 11 |
5 files changed, 412 insertions, 0 deletions
diff --git a/dev-java/jetty-server/Manifest b/dev-java/jetty-server/Manifest new file mode 100644 index 0000000..4e42095 --- /dev/null +++ b/dev-java/jetty-server/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX jetty-server-8.1.10-build.xml 13932 SHA256 434ed61baf905df20bd83ab68def60937c05186dcce49e7174a23482d15841fe SHA512 8f607a135149d7f5791b42153645f2abfe87096d990c00e55096cd7ca69d204cd8927d228f7119a6c305a4cf7f71d3851e68eb135d40b2b04c57bd242bb01d57 WHIRLPOOL 1d25aa7c114ae3e6a020a7cc94f9446dac11c33e23e10cf2263b629c9492d7ddc50c5352fb6c146c1c09ebfece2ebc95a1cd8f68033ef6e935d3ee18d7fd2c2b +AUX 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 jetty-server-8.1.10.ebuild 1942 SHA256 5cf26ab583dd83b193b84b5e36661d1c56e164343c04d2fbc3f54e4f122f9e42 SHA512 3be65e7618e7922e44bb4276a4b684fb51fbe9f5454c1bd87118c19a263526dc137a4df42228fb941e13993b50468378d6030c21a9229fdc3b4fe33afe529edf WHIRLPOOL ac0c362f7478613a7ad5435cf39bb8b890755331b97ec4a28f98fe90dd5594621c1b384014b538dd25e8c224a4f422c521cd1d3c9e0777e4c40354b6ec0f6c38 +MISC metadata.xml 302 SHA256 2db5a816418583baff6f630e323b7e22161af9b2301530e939d12980f6f4efc3 SHA512 7a82f15ba4ad840a0aa6dfdb6571aace8049b04285300d3804fed160b3bb201c5f04a9ed6813ea49baab5465bc5c99f66db5af141020363bfbb24fd8aa53891a WHIRLPOOL a876b00279b91cfdd60200db343e76716b02e0251ab3cb9f935b9e766f15e2050228b08c6f40b87956ef86eb2ddc21f64d5de30369e4e3cecd93a07baabe7b40 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRkzKeAAoJEJWyH81tNOV9iusIAKF1btpxOVkV9LK/2vMeR4g1 +P95ttHZQsuGCuqqZI9NgAKmdeCsGpBSJgVFqHBxb6Zcx94W67lqo4YN2scgiyY2V ++DYwXcwJLORckcaYoZhJGCLMuws3I2BwIDUy+4C9EMwFfeWiPOGWmN1e1ULuiq73 +dhYI7fMK8vCWZ3MmDs8Fa0q+w0NqM77eYVKhgA6jqbuVQtyosoUnqEhu1F6eontw +8i4yCXK6EMDqaXcmEdAQui5Nxwl3kaeZlGN45Hylgcm5xwHpI9lW2bRYLH51zQs/ +ztwCQGGNyB66pCvfKh7RZqZVN5O8Df3wDZM1qxhLW3zvSDOH8trIiffxIEEAvMw= +=GUMh +-----END PGP SIGNATURE----- diff --git a/dev-java/jetty-server/files/jetty-server-8.1.10-build.xml b/dev-java/jetty-server/files/jetty-server-8.1.10-build.xml new file mode 100644 index 0000000..19a1910 --- /dev/null +++ b/dev-java/jetty-server/files/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/jetty-server/files/jetty-server-8.1.10-j6c.patch b/dev-java/jetty-server/files/jetty-server-8.1.10-j6c.patch new file mode 100644 index 0000000..1b2d151 --- /dev/null +++ b/dev-java/jetty-server/files/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/jetty-server/jetty-server-8.1.10.ebuild b/dev-java/jetty-server/jetty-server-8.1.10.ebuild new file mode 100644 index 0000000..288901b --- /dev/null +++ b/dev-java/jetty-server/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}-${MY_PV}" + +SRC_URI="http://repo1.maven.org/maven2/org/eclipse/jetty/aggregate/${PN}/${MY_PV}/${MY_P}-sources.jar" +SLOT="8" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}" + +COMMON_DEPEND="dev-java/jetty-jmx:8 + dev-java/slf4j-api:0 + java-virtuals/servlet-api:3.0" + +DEPEND="${COMMON_DEPEND} + >=virtual/jdk-1.7 + dev-java/jetty-io:8 + dev-java/jetty-http:8 + dev-java/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 jetty-util-8 jetty-util.jar):$(java-pkg_getjar --build-only jetty-io-8 jetty-io.jar):$(java-pkg_getjar jetty-jmx-8 jetty-jmx.jar):$(java-pkg_getjar --build-only jetty-http-8 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/jetty-server/metadata.xml b/dev-java/jetty-server/metadata.xml new file mode 100644 index 0000000..453338b --- /dev/null +++ b/dev-java/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> |