diff options
author | William Thomson <wltjr@gentoo.org> | 2007-04-14 00:12:11 +0000 |
---|---|---|
committer | William Thomson <wltjr@gentoo.org> | 2007-04-14 00:12:11 +0000 |
commit | 54299cf7688a28a5a57b1363759b74cd8d521a87 (patch) | |
tree | 55b698a299d51192c09660621224f3158a6cd94b /dev-java | |
parent | Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>. (diff) | |
download | historical-54299cf7688a28a5a57b1363759b74cd8d521a87.tar.gz historical-54299cf7688a28a5a57b1363759b74cd8d521a87.tar.bz2 historical-54299cf7688a28a5a57b1363759b74cd8d521a87.zip |
p.mask for > 30 days, moved to junkyard overlay
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/oscore/ChangeLog | 21 | ||||
-rw-r--r-- | dev-java/oscore/Manifest | 34 | ||||
-rw-r--r-- | dev-java/oscore/files/digest-oscore-2.2.5 | 3 | ||||
-rw-r--r-- | dev-java/oscore/files/osbuild.xml | 383 | ||||
-rw-r--r-- | dev-java/oscore/files/oscore-2.2.5-build.patch | 43 | ||||
-rw-r--r-- | dev-java/oscore/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/oscore/oscore-2.2.5.ebuild | 74 |
7 files changed, 0 insertions, 563 deletions
diff --git a/dev-java/oscore/ChangeLog b/dev-java/oscore/ChangeLog deleted file mode 100644 index 722f984f9cbf..000000000000 --- a/dev-java/oscore/ChangeLog +++ /dev/null @@ -1,21 +0,0 @@ -# ChangeLog for dev-java/oscore -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/oscore/ChangeLog,v 1.4 2007/02/21 14:23:35 betelgeuse Exp $ - - 21 Feb 2007; Petteri Räty <betelgeuse@gentoo.org> - files/digest-oscore-2.2.5, Manifest: - Generate Manifest2 - - 19 Mar 2006; Mark Loeser <halcy0n@gentoo.org> oscore-2.2.5.ebuild: - Add DEPEND on app-arch/unzip - - 22 Jan 2006; Joshua Nichols <nichoj@gentoo.org> oscore-2.2.5.ebuild: - Keyworded ~amd64. Fixed dependencies. - -*oscore-2.2.5 (22 Jan 2006) - - 22 Jan 2006; Joshua Nichols <nichoj@gentoo.org> - +files/oscore-2.2.5-build.patch, +files/osbuild.xml, +metadata.xml, - +oscore-2.2.5.ebuild: - Initial commit that builds from source (bug #63282). - diff --git a/dev-java/oscore/Manifest b/dev-java/oscore/Manifest deleted file mode 100644 index 8b083ace693f..000000000000 --- a/dev-java/oscore/Manifest +++ /dev/null @@ -1,34 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX osbuild.xml 14828 RMD160 fb3a62fd52b9c3f12a572dc0b0c6bd3200001287 SHA1 8a6438d2e9fb1beae614033715c26826a72fb7cb SHA256 eb52646da86ffcf9e7933a6b11ce4a34b5a1e53e8997e631c88d7c425bc28a03 -MD5 7c159e3cd8bb969251cd66132e66378d files/osbuild.xml 14828 -RMD160 fb3a62fd52b9c3f12a572dc0b0c6bd3200001287 files/osbuild.xml 14828 -SHA256 eb52646da86ffcf9e7933a6b11ce4a34b5a1e53e8997e631c88d7c425bc28a03 files/osbuild.xml 14828 -AUX oscore-2.2.5-build.patch 1351 RMD160 63663cdb52ebfab32890e1ebe775b186e672e747 SHA1 60b8ed94bdcafd486f09e43ab047b95b4fdcc383 SHA256 38a3a75a9ec3ec3425da273ddc4aebf07d5d7f7bcd62fca225c6058bb3307b43 -MD5 f5c1782d855ed6fde1343baa9df18fd2 files/oscore-2.2.5-build.patch 1351 -RMD160 63663cdb52ebfab32890e1ebe775b186e672e747 files/oscore-2.2.5-build.patch 1351 -SHA256 38a3a75a9ec3ec3425da273ddc4aebf07d5d7f7bcd62fca225c6058bb3307b43 files/oscore-2.2.5-build.patch 1351 -DIST oscore-2.2.5.zip 6192950 RMD160 3eca06fbbab18985ccceab72c16697cbf5ed56c7 SHA1 82c970b62e822b54b34ca7a1c9ef8659a094e2cb SHA256 1c7590dcd91a1e0af2141a59c4fd9488a2b1d0e1fb19493b772705caf399c9dc -EBUILD oscore-2.2.5.ebuild 1707 RMD160 88ac7db0f97bb548ef80f079b780928cdbf0919b SHA1 e25c880db5ecaa3cc766be0c719942555fb1f611 SHA256 fe9957b24eaec9e3f2182ef54f864e112a0790051c2e0497b77ba362dc0a91d2 -MD5 927d47a08fdeab9102a181d61c6d9380 oscore-2.2.5.ebuild 1707 -RMD160 88ac7db0f97bb548ef80f079b780928cdbf0919b oscore-2.2.5.ebuild 1707 -SHA256 fe9957b24eaec9e3f2182ef54f864e112a0790051c2e0497b77ba362dc0a91d2 oscore-2.2.5.ebuild 1707 -MISC ChangeLog 763 RMD160 cdf948c0aee2ea1d7c12eab210fe5c7b4e0e5261 SHA1 d1913e840354a5783cbc3bfaef657e55363f8610 SHA256 63f41475d7c1a813c996dbd79ee2f4ca4503e515ba56bb167ee3401216c83bfa -MD5 431de0a90f1f7ae09a5463cbd53eb945 ChangeLog 763 -RMD160 cdf948c0aee2ea1d7c12eab210fe5c7b4e0e5261 ChangeLog 763 -SHA256 63f41475d7c1a813c996dbd79ee2f4ca4503e515ba56bb167ee3401216c83bfa ChangeLog 763 -MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 -MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 -RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 -SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157 -MD5 097b7f2ae0c5d6cc082e08ac565af2b3 files/digest-oscore-2.2.5 232 -RMD160 5b288937317cb5919a728c4e6e07f761162cf5d7 files/digest-oscore-2.2.5 232 -SHA256 0dd3ab5561cc0041a1f1c652130cf257084ae9f41b372d13fd8e31a531f5843f files/digest-oscore-2.2.5 232 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) - -iD8DBQFF3FLGcxLzpIGCsLQRAmI7AJ4xzEYNw8eHRE7Mo2fwSH62Zl/dBgCeNtsY -yBBn61SLC7Ciydgnwf+kOOU= -=gPie ------END PGP SIGNATURE----- diff --git a/dev-java/oscore/files/digest-oscore-2.2.5 b/dev-java/oscore/files/digest-oscore-2.2.5 deleted file mode 100644 index 442707d2000a..000000000000 --- a/dev-java/oscore/files/digest-oscore-2.2.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d50a02452005465117b58f1a5d2fdee2 oscore-2.2.5.zip 6192950 -RMD160 3eca06fbbab18985ccceab72c16697cbf5ed56c7 oscore-2.2.5.zip 6192950 -SHA256 1c7590dcd91a1e0af2141a59c4fd9488a2b1d0e1fb19493b772705caf399c9dc oscore-2.2.5.zip 6192950 diff --git a/dev-java/oscore/files/osbuild.xml b/dev-java/oscore/files/osbuild.xml deleted file mode 100644 index 95de72cadc9d..000000000000 --- a/dev-java/oscore/files/osbuild.xml +++ /dev/null @@ -1,383 +0,0 @@ -<project name="common" default="jar" basedir="."> - <!-- - OpenSymphony Common Build - ========================= - TODO (Introduction) - - Layout - ========================= - TODO - - Overriding - ========================= - TODO - Example: <target name="compile" depends="myPreCompile,common.compile,myPostCompile"/> - - --> - <!-- NOTE: this property is purely here to make a clear distinction in IDEA where the common build is --> - <property name="------common-properties-below------" value="Common properties below:"/> - - <property name="compile.version" value="1.3"/> - <property name="test.compile.version" value="1.3"/> - - <dirname property="common.dir" file="${ant.file.common}"/> - <property file="build.properties"/> - <property file="release.properties"/> - <property file="ivyrep.properties"/> - - <property name="lib" location="lib"/> - <property name="lib.core" value="${lib}/core"/> - <property name="lib.build" value="${lib}/build"/> - <property name="lib.optional" value="${lib}/optional"/> - - <property name="src" location="src"/> - <property name="src.java" value="${src}/java"/> - - <property name="test" value="${src}/test"/> - <property name="src.test" value="${test}/java"/> - - <property name="build" location="build"/> - <property name="build.test" value="${build}/test"/> - <property name="build.java-test" value="${build}/java-test"/> - <property name="build.java" value="${build}/java"/> - <property name="build.clover" value="${build}/clover"/> - <property name="dist" location="dist"/> - - <property name="docs" location="docs"/> - <property name="docs.packages" value="com.opensymphony.*"/> - - <property name="jar.manifest" value="${common.dir}/EMPTY.MF"/> - <property name="jar.excludes" value=""/> - - <property name="testcase" value="*"/> - <patternset id="src.test.pattern"> - <exclude name="**/Abstract*.java"/> - <include name="**/${testcase}Test.java"/> - <include name="**/${testcase}TestCase.java"/> - </patternset> - - <path id="cp"> - <fileset dir="lib"> - <include name="**/*.jar"/> - <include name="**/*.zip"/> - <exclude name="**/jalopy/**"/> - </fileset> - </path> - - <path id="junit.cp"> - <pathelement location="${build.test}"/> - <pathelement location="${build.java-test}"/> - <path refid="cp"/> - </path> - - <available property="junit.available" classname="junit.framework.TestCase"/> - <available property="clover.available" classname="org.apache.tools.ant.taskdefs.CloverCompilerAdapter"/> - - <target name="init" depends="init-anthill, init-standalone"> - <tstamp/> - </target> - - <!-- in Anthill, the docs should be the Intranet copyDir --> - <target name="init-anthill" if="anthill.copyDir"> - <property name="dist.docs" value="${anthill.copyDir}"/> - </target> - - <!-- when building Standalone, the docs should be the normal place --> - <target name="init-standalone" unless="anthill.copyDir"> - <property name="dist.docs" value="${dist}/docs"/> - </target> - - <target name="junit-check" depends="init" unless="junit.available"> - <fail message="Cannot run test cases. Please copy lib/build/junit-3.8.1.jar to ${ant.home}/lib"/> - </target> - - <target name="clover-check" depends="init" unless="clover.available"> - <fail message="Cannot run coverage tests. Please copy lib/build/clover.jar and lib/build/clover.license (if it exists) to ${ant.home}/lib"/> - </target> - - <target name="clean" depends="init"> - <delete dir="${build}"/> - <delete dir="${dist}"/> - </target> - - <target name="precompile"/> - - <macrodef name="compile"> - <attribute name="srcdir"/> - <attribute name="destdir"/> - <attribute name="classpath" default=""/> - <attribute name="classpathref" default="cp"/> - <attribute name="excludes" default=""/> - <attribute name="source" default="${compile.version}"/> - <attribute name="target" default="${compile.version}"/> - <sequential> - <mkdir dir="@{destdir}"/> - <javac srcdir="@{srcdir}" destdir="@{destdir}" classpath="@{classpath}" classpathref="@{classpathref}" - debug="on" source="@{source}" target="@{target}"/> - <copy filtering="no" todir="@{destdir}"> - <fileset dir="@{srcdir}"> - <exclude name="**/*.java"/> - <exclude name="**/package.html"/> - </fileset> - </copy> - </sequential> - </macrodef> - - <target name="compile" depends="init,precompile" description="compile project"> - <compile srcdir="${src.java}" destdir="${build.java}"/> - </target> - - <target name="jar" depends="compile" description="build the project jar file"> - <mkdir dir="${build}"/> - - <jar basedir="${build.java}" excludes="${jar.excludes}" jarfile="${build}/${name}-${version}.jar" - manifest="${jar.manifest}"> - <manifest> - <attribute name="Implementation-Title" value="${fullname}"/> - <attribute name="Implementation-Version" value="${version}"/> - <attribute name="Implementation-Vendor" value="OpenSymphony"/> - </manifest> - </jar> - <!-- <jar basedir="${src.java}" jarfile="${build}/${name}-${version}-src.jar"> - <manifest> - <attribute name="Implementation-Title" value="${fullname}" /> - <attribute name="Implementation-Version" value="${version}" /> - <attribute name="Implementation-Vendor" value="OpenSymphony" /> - </manifest> - </jar> --> - </target> - - <target name="src-jar" depends="init" description="build a jar of the project source code"> - <mkdir dir="${build}"/> - <jar basedir="${src.java}" jarfile="${build}/${name}-${version}-src.jar"> - <manifest> - <attribute name="Implementation-Title" value="${fullname}"/> - <attribute name="Implementation-Version" value="${version}"/> - <attribute name="Implementation-Vendor" value="OpenSymphony"/> - </manifest> - </jar> - </target> - - <target name="test-compile" unless="skip.tests"> - <compile srcdir="${src.test}" destdir="${build.test}" classpath="${build.java}" - source="${test.compile.version}" target="${test.compile.version}"/> - - <taskdef resource="clovertasks"/> - <taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/> - - <mkdir dir="${build.clover}"/> - <clover-setup initString="${build.clover}/coverage.db"> - <files> - <exclude name="${src.test}/**/*.java"/> - </files> - </clover-setup> - - <compile srcdir="${src.java}" destdir="${build.java-test}"/> - </target> - - <target name="test" depends="junit-check, clover-check, compile, test-compile" description="run tests" - unless="skip.tests"> - <run-junit /> - </target> - - <macrodef name="run-junit"> - <attribute name="classpathref" default="junit.cp" /> - <sequential> - <mkdir dir="${dist.docs}/junit"/> - <junit haltonfailure="no" haltonerror="yes" fork="yes" forkmode="once" failureproperty="test.failure"> - <jvmarg value="-Djava.awt.headless=true"/> - <jvmarg value="-Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl"/> - <classpath> - <path refid="@{classpathref}"/> - </classpath> - - <formatter type="plain" useFile="false"/> - <formatter type="xml"/> - - <batchtest todir="${dist.docs}/junit"> - <fileset dir="${src.test}"> - <patternset refid="src.test.pattern"/> - </fileset> - </batchtest> - </junit> - </sequential> - </macrodef> - - <target name="javadocs" description="generate javadocs" depends="init"> - <mkdir dir="${dist.docs}/api"/> - <javadoc sourcepath="${src.java}" - destdir="${dist.docs}/api" - packagenames="${docs.packages}" - classpathref="cp" - author="true" - version="true" - overview="${src.java}/overview.html" - windowTitle="${fullname} API - ${version}" - doctitle="${fullname} API (${version})" - footer="<a href="http://www.opensymphony.com/${name}/" target="_top">${fullname} Project Page</a>" - use="true" - verbose="false"> - <link href="http://java.sun.com/j2se/${compile.version}/docs/api/"/> - <link href="http://java.sun.com/j2ee/${compile.version}/docs/api/"/> - </javadoc> - <!-- <copy overwrite="yes" file="${docs}/main.css" tofile="${docs}/api/stylesheet.css"/> --> - </target> - - <target name="docs.impl"> - <copy todir="${dist.docs}"> - <fileset dir="${docs}"/> - </copy> - </target> - - <target name="reports" depends="junit.report, clover.report, javadocs" - description="generate javadocs and junit and coverage reports"/> - - <target name="docs" depends="reports, docs.impl"/> - - <target name="clover.report" depends="test" description="generate coverage reports" unless="skip.tests"> - <clover-report> - <current outfile="${dist.docs}/clover"> - <format type="html"/> - </current> - </clover-report> - </target> - - <target name="clover.historical" depends="clover.report" description="generate coverage historical reports" - unless="skip.tests"> - <clover-historypoint historyDir="${build.clover}"/> - - <clover-report> - <historical outfile="${dist.docs}/clover" historyDir="${build.clover}"> - <format type="html"/> - </historical> - </clover-report> - </target> - - <target name="junit.report" depends="test" description="generate junit reports" unless="skip.tests"> - <junitreport todir="${dist.docs}/junit"> - <fileset dir="${dist.docs}/junit"> - <include name="TEST-*.xml"/> - </fileset> - <report format="frames" todir="${dist.docs}/junit"/> - </junitreport> - - <!-- we fail here (instead of in the test target) so that the reports get generated first) --> - <fail if="test.failure" message="Tests did not all pass, failing!"/> - </target> - - <target name="predist"/> - - <target name="predist.zip"/> - - <target name="dist" depends="jar, docs, predist" description="generate distribution zip file"> - <copy todir="${dist}"> - <fileset dir="${build}"> - <include name="*.jar"/> - </fileset> - </copy> - - <copy todir="${dist}/src"> - <fileset dir="${src}"/> - </copy> - - <mkdir dir="${dist}/lib"/> - <copy todir="${dist}/lib"> - <fileset dir="${lib}"> - <exclude name="**/no_dist/**"/> - </fileset> - </copy> - - <copy todir="${dist}"> - <fileset dir="${basedir}"> - <include name="*build.*"/> - <include name="readme.txt"/> - <include name="license.txt"/> - </fileset> - </copy> - - <!-- give a chance for project builds to do more before the zip is made. --> - <antcall target="predist.zip"/> - - <zip zipfile="${build}/${name}-${version}.zip" basedir="${dist}"> - <exclude name="docs/clover/**/*"/> - <exclude name="docs/junit/**/*"/> - </zip> - </target> - - <target name="website" depends="javadocs, docs.impl"/> - - <target name="ivyrep" depends="jar"> - <tstamp> - <format property="TIME" pattern="yyyyMMddHHmmss"/> - </tstamp> - - <!-- make sure we have the latest --> - <echo>svn update</echo> - <exec executable="svn"> - <arg value="update"/> - <arg line="${ivyrep.path}/opensymphony/${name}"/> - </exec> - - <!-- delete the old timestamped builds and commit --> - <fileset dir="${ivyrep.path}/opensymphony/${name}" id="filesref"> - <include name="${name}-${version}-*"/> - <include name="ivy-${version}-*"/> - </fileset> - <pathconvert property="files" refid="filesref" pathsep=" "/> - <echo>svn delete: ${files}</echo> - <exec executable="svn"> - <arg value="delete"/> - <arg line="${files}"/> - </exec> - - <!-- copy over the new build --> - <copy file="${build}/${name}-${version}.jar" - tofile="${ivyrep.path}/opensymphony/${name}/${name}-${version}-${TIME}.jar"/> - <echo>svn add (jar)</echo> - <exec executable="svn"> - <arg value="add"/> - <arg value="${ivyrep.path}/opensymphony/${name}/${name}-${version}-${TIME}.jar"/> - </exec> - - <antcall target="ivyrep.copy-ivy"/> - <exec executable="svn"> - <arg value="add"/> - <arg value="${ivyrep.path}/opensymphony/${name}/ivy-${version}-${TIME}.xml"/> - </exec> - - <!-- now commit everything --> - <echo>svn commit</echo> - <exec executable="svn"> - <arg value="commit"/> - <arg value="--username"/> - <arg value="${ivyrep.username}"/> - <arg value="--password"/> - <arg value="${ivyrep.password}"/> - <arg value="--non-interactive"/> - <arg value="-m"/> - <arg value="automatic commit"/> - <arg value="${ivyrep.path}/opensymphony/${name}"/> - </exec> - </target> - - <target name="ivyrep.copy-ivy"> - <!-- - Note: Default implementation does not use Ivy itself to generate these files. - However, Ivy is really the best way to generate these, so projects that - do use Ivy should override this target like so: - - <ivy-deliver deliverpattern="${ivyrep.path}/opensymphony/${name}/[artifact]-[revision].[ext]" - pubrevision="${version}-${TIME}" pubdate="${TIME}"/> - - Over time as more projects adopt Ivy, this may become built in to the - common build. - --> - <copy file="ivy.xml" tofile="${ivyrep.path}/opensymphony/${name}/ivy-${version}-${TIME}.xml"> - <filterset id="ivy.filter"> - <filter token="VERSION" value="${version}-${TIME}"/> - <filter token="STATUS" value="${status}"/> - <filter token="PUBLICATION" value="${TIME}"/> - </filterset> - </copy> - </target> -</project> diff --git a/dev-java/oscore/files/oscore-2.2.5-build.patch b/dev-java/oscore/files/oscore-2.2.5-build.patch deleted file mode 100644 index 69a7faf6e2ee..000000000000 --- a/dev-java/oscore/files/oscore-2.2.5-build.patch +++ /dev/null @@ -1,43 +0,0 @@ -Only in oscore: build -diff -ru oscore-orig/build.xml oscore/build.xml ---- oscore-orig/build.xml 2005-07-29 15:30:10.000000000 -0400 -+++ oscore/build.xml 2006-01-21 00:41:51.000000000 -0500 -@@ -3,7 +3,7 @@ - <property name="src.test" location="src/test"/> - <property name="src.etc" location="src/etc"/> - -- <property name="common.build" value="../opensymphony/common/osbuild.xml"/> -+<!-- <property name="common.build" value="../opensymphony/common/osbuild.xml"/>--> - <import file="${common.build}"/> - - <path id="jalopy.classpath"> -@@ -12,9 +12,11 @@ - </fileset> - </path> - -+ <!-- - <taskdef name="jalopy" classname="de.hunsicker.jalopy.plugin.ant.AntPlugin"> - <classpath refid="jalopy.classpath"/> - </taskdef> -+ --> - - <target name="clean" depends="common.clean"> - <delete> -@@ -52,6 +54,7 @@ - </target> - - <target name="precompile" depends="ejbdoclet"> -+ <!-- - <jalopy fileformat="unix" convention="src/etc/jalopy.xml" history="file" historymethod="adler32" loglevel="error" threads="2" classpathref="cp"> - <fileset dir="${src.java}"> - <include name="**/*.java"/> -@@ -60,6 +63,7 @@ - <include name="**/*.java"/> - </fileset> - </jalopy> -+ --> - </target> - --</project> -\ No newline at end of file -+</project> diff --git a/dev-java/oscore/metadata.xml b/dev-java/oscore/metadata.xml deleted file mode 100644 index 838c00a4a448..000000000000 --- a/dev-java/oscore/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>java</herd> -</pkgmetadata> diff --git a/dev-java/oscore/oscore-2.2.5.ebuild b/dev-java/oscore/oscore-2.2.5.ebuild deleted file mode 100644 index b9330354f492..000000000000 --- a/dev-java/oscore/oscore-2.2.5.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/oscore/oscore-2.2.5.ebuild,v 1.3 2006/03/19 22:18:06 halcy0n Exp $ - -inherit java-pkg eutils - -DESCRIPTION="A set of utility-classes useful in any J2EE application" -HOMEPAGE="http://www.opensymphony.com/oscore/" -SRC_URI="https://${PN}.dev.java.net/files/documents/725/17892/${P}.zip" - -LICENSE="OpenSymphony-1.1" -SLOT="2.2" -KEYWORDS="~amd64 ~x86" -IUSE="doc source" - -LIB_DEPS=" - ~dev-java/servletapi-2.2 - =dev-java/gnu-javamail-1* - =dev-java/crimson-1* - dev-java/commons-logging - dev-java/log4j - dev-java/sun-ejb-spec - =dev-java/ognl-2.6* - dev-java/xdoclet" - -DEPEND=">=virtual/jdk-1.4 - >=dev-java/ant-core-1.6 - >=dev-java/ant-tasks-1.6 - app-arch/unzip - ${LIB_DEPS}" -RDEPEND=">=virtual/jre-1.4 - ${LIB_DEPS}" - - -S="${WORKDIR}" - -src_unpack() { - unpack ${A} - cd ${S} - # Disables jalopy stuff - epatch ${FILESDIR}/${P}-build.patch - - cp ${FILESDIR}/osbuild.xml . - touch ${S}/EMPTY.MF - - mkdir -p lib/core - cd lib/core - rm *.jar - java-pkg_jar-from servletapi-2.2 - java-pkg_jar-from gnu-javamail-1 gnumail.jar mail.jar - java-pkg_jar-from crimson-1 - java-pkg_jar-from commons-logging - java-pkg_jar-from log4j - java-pkg_jar-from sun-ejb-spec ejb-api.jar ejb.jar - java-pkg_jar-from ognl-2.6 - - cd ../build - rm -f *.jar jalopy/*.jar - cd xdoclet - java-pkg_jar-from xdoclet -} - -src_compile() { - local antflags="jar -Dcommon.build=${S}/osbuild.xml" - use doc && antflags="${antflags} javadocs" - ant ${antflags} || die "ant failed" -} - -src_install() { - java-pkg_newjar build/${P}.jar ${PN}.jar - - use doc && java-pkg_dohtml -r dist/docs/api - use source && java-pkg_dosrc src/java/* -} |