diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-05-24 06:17:55 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-05-24 06:18:15 +0000 |
commit | 1d395b6915e31434d85e3fd83c41f0f169fdbd4d (patch) | |
tree | 1f791829b7e9f6885f46d8709b37e5eca5cce326 /dev-java | |
parent | dev-java/japitools: Stable for amd64. Retroactively mark stable for the remai... (diff) | |
download | gentoo-1d395b6915e31434d85e3fd83c41f0f169fdbd4d.tar.gz gentoo-1d395b6915e31434d85e3fd83c41f0f169fdbd4d.tar.bz2 gentoo-1d395b6915e31434d85e3fd83c41f0f169fdbd4d.zip |
dev-java/japitools: Clean up old.
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/japitools/files/japitools-0.9.7-classpath.patch | 20 | ||||
-rw-r--r-- | dev-java/japitools/japitools-0.9.7-r1.ebuild | 56 |
2 files changed, 0 insertions, 76 deletions
diff --git a/dev-java/japitools/files/japitools-0.9.7-classpath.patch b/dev-java/japitools/files/japitools-0.9.7-classpath.patch deleted file mode 100644 index caf3f1a7f296..000000000000 --- a/dev-java/japitools/files/japitools-0.9.7-classpath.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -Nur japitools-0.9.7/src/net/wuffies/japi/JapiantTask.java japitools-0.9.7_patched/src/net/wuffies/japi/JapiantTask.java ---- japitools-0.9.7/src/net/wuffies/japi/JapiantTask.java 2006-10-23 02:42:44.000000000 +0300 -+++ japitools-0.9.7_patched/src/net/wuffies/japi/JapiantTask.java 2008-07-03 20:46:59.000000000 +0300 -@@ -130,7 +130,15 @@ - } - - { -- args.add(System.getProperty("java.home") + File.separator + "lib" + File.separator + "rt.jar"); -+ File rtJar=new File(System.getProperty("java.home") + File.separator + "lib" + File.separator + "rt.jar"); -+ if(rtJar.exists()) -+ args.add(System.getProperty("java.home") + File.separator + "lib" + File.separator + "rt.jar"); -+ File vmJar=new File(System.getProperty("java.home") + File.separator + "lib" + File.separator + "vm.jar"); -+ if(vmJar.exists()) -+ args.add(System.getProperty("java.home") + File.separator + "lib" + File.separator + "vm.jar"); -+ File coreJar=new File(System.getProperty("java.home") + File.separator + "lib" + File.separator + "core.jar"); -+ if(coreJar.exists()) -+ args.add(System.getProperty("java.home") + File.separator + "lib" + File.separator + "core.jar"); - } - - { diff --git a/dev-java/japitools/japitools-0.9.7-r1.ebuild b/dev-java/japitools/japitools-0.9.7-r1.ebuild deleted file mode 100644 index 96ddbfd5c3b5..000000000000 --- a/dev-java/japitools/japitools-0.9.7-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -JAVA_PKG_IUSE="doc source test" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Java API compatibility testing tools" -HOMEPAGE="http://sab39.netreach.com/japi/" - -SRC_URI="http://www.kaffe.org/~stuart/japi/${P}.tar.gz" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="dev-java/ant-core - >=virtual/jdk-1.4 - test? ( - =dev-java/junit-3* - dev-java/ant-junit - )" - -RDEPEND=">=virtual/jre-1.4" - -src_unpack() { - unpack ${A} - epatch "${FILESDIR}"/${P}-classpath.patch - - cd "${S}"/bin || die - rm japize.bat || die - sed -e "s:../share/java:../share/${PN}/lib:" -i * \ - || die "Failed to correct the location of the jar file in perl scripts." -} - -src_compile() { - eant jar -} - -src_test() { - ANT_TASKS="ant-junit" eant test -} -src_install() { - java-pkg_dojar share/java/*.jar - dobin bin/* - - if use doc; then - cp -r design "${T}" - dohtml "${T}"/design/{*.css,*.html} - rm "${T}"/design/{*.css,*.html} - dodoc "${T}"/design/* - fi - - use source && java-pkg_dosrc src/* -} |