summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-08-27 20:12:25 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-08-27 20:12:25 +0000
commit21f62f10f3f96bb32126231f38a49075f24cd4d3 (patch)
treeca5ccd06033d6ca64538918de290a67953ac79b9 /dev-java/ant
parentunpack in src_unpack; use games.eclass functions; tidy (diff)
downloadhistorical-21f62f10f3f96bb32126231f38a49075f24cd4d3.tar.gz
historical-21f62f10f3f96bb32126231f38a49075f24cd4d3.tar.bz2
historical-21f62f10f3f96bb32126231f38a49075f24cd4d3.zip
remove older versions
Diffstat (limited to 'dev-java/ant')
-rw-r--r--dev-java/ant/ChangeLog9
-rw-r--r--dev-java/ant/ant-1.5.3-r5.ebuild100
-rw-r--r--dev-java/ant/ant-1.6.0-r2.ebuild63
-rw-r--r--dev-java/ant/ant-1.6.2-r1.ebuild86
-rw-r--r--dev-java/ant/ant-1.6.2.ebuild86
-rw-r--r--dev-java/ant/files/1.5.3/1_6_backport-jdk142.patch.gzbin916 -> 0 bytes
-rw-r--r--dev-java/ant/files/1.5.3/ant89
-rw-r--r--dev-java/ant/files/1.6.0-r2/ant89
-rw-r--r--dev-java/ant/files/1.6.2-r1/ant164
-rw-r--r--dev-java/ant/files/1.6.2/ant90
-rw-r--r--dev-java/ant/files/digest-ant-1.5.3-r51
-rw-r--r--dev-java/ant/files/digest-ant-1.6.0-r21
-rw-r--r--dev-java/ant/files/digest-ant-1.6.21
-rw-r--r--dev-java/ant/files/digest-ant-1.6.2-r11
14 files changed, 8 insertions, 772 deletions
diff --git a/dev-java/ant/ChangeLog b/dev-java/ant/ChangeLog
index 87383b21fc82..da9a9f110cba 100644
--- a/dev-java/ant/ChangeLog
+++ b/dev-java/ant/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/ant
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ChangeLog,v 1.72 2004/08/27 20:03:13 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ChangeLog,v 1.73 2004/08/27 20:12:04 axxo Exp $
+
+ 27 Aug 2004; Thomas Matthijs <axxo@gentoo.org>
+ -files/1.5.3/1_6_backport-jdk142.patch.gz, -files/1.5.3/ant,
+ -files/1.6.0-r2/ant, -files/1.6.2/ant, -files/1.6.2-r1/ant,
+ -ant-1.5.3-r5.ebuild, -ant-1.6.0-r2.ebuild, -ant-1.6.2-r1.ebuild,
+ -ant-1.6.2.ebuild:
+ remove older versions
27 Aug 2004; Thomas Matthijs <axxo@gentoo.org> metadata.xml,
ant-1.6.2-r3.ebuild:
diff --git a/dev-java/ant/ant-1.5.3-r5.ebuild b/dev-java/ant/ant-1.5.3-r5.ebuild
deleted file mode 100644
index d1e08115b07f..000000000000
--- a/dev-java/ant/ant-1.5.3-r5.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ant-1.5.3-r5.ebuild,v 1.9 2004/07/02 04:18:20 eradicator Exp $
-
-inherit java-pkg eutils
-
-DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files."
-HOMEPAGE="http://ant.apache.org/"
-SRC_URI="http://archive.apache.org/dist/ant/source/apache-${PN}-${PV}-1-src.tar.bz2"
-
-LICENSE="Apache-1.1"
-SLOT="0"
-KEYWORDS="x86 ppc sparc"
-IUSE="doc"
-
-DEPEND="virtual/libc
- >=virtual/jdk-1.3"
-RDEPEND=">=virtual/jdk-1.3
- app-shells/bash"
-
-S="${WORKDIR}/apache-ant-${PV}-1"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # Patch build.sh to die with non-zero exit code in case of errors.
- # This patch may be useful for all ant versions.
- epatch ${FILESDIR}/build.sh-exit-fix.patch.gz
-
- # Incorporate changes from upcoming ant-1.6 into 1.5.3 to
- # enable building ant with java >=sun-jdk-1.4.2
- epatch ${FILESDIR}/${PV}/1_6_backport-jdk142.patch.gz
-}
-
-src_compile() {
- export JAVA_HOME=${JDK_HOME}
- if [ `arch` == "ppc" ] ; then
- # We're compiling _ON_ PPC
- export THREADS_FLAG="green"
- fi
-
- # Make sure junit tasks get built if we have junit
- if [ -f "/usr/share/junit/lib/junit.jar" ] ; then
- export CLASSPATH="/usr/share/junit/lib/junit.jar"
- export DEP_APPEND="junit"
- if [ -f "/usr/share/xalan/lib/xalan.jar" ] ; then
- export CLASSPATH="${CLASSPATH}:/usr/share/xalan/lib/xalan.jar"
- export DEP_APPEND="${DEP_APPEND} xalan"
- fi
- fi
-
- # Add Xerces in if we have it
- if [ -f "/usr/share/xerces/lib/xercesImpl.jar" ] ; then
- export CLASSPATH="${CLASSPATH}:/usr/share/xerces/lib/xercesImpl.jar:/usr/share/xerces/lib/xml-apis.jar"
- export DEP_APPEND="${DEP_APPEND} xerces"
- fi
-
- # Add oro in if we have it
- if [ -f "/usr/share/oro/lib/oro.jar" ] ; then
- export CLASSPATH="${CLASSPATH}:/usr/share/oro/lib/oro.jar"
- export DEP_APPEND="${DEP_APPEND} oro"
- fi
-
- # Add beanutils if we have it
- if [ -f "/usr/share/commons-beanutils/lib/commons-beanutils.jar" ] ; then
- export CLASSPATH="${CLASSPATH}:/usr/share/commons-beanutils/lib/commons-beanutils.jar"
- export DEP_APPEND="${DEP_APPEND} commons-beanutils"
- fi
-
- # add antlr if we have it
- if [ -f "/usr/share/antlr/lib/antlr.jar" ] ; then
- export CLASSPATH="${CLASSPATH}:/usr/share/antlr/lib/antlr.jar"
- export DEP_APPEND="${DEP_APPEND} antlr"
- fi
-
- # add bcel if we have it
- if [ -f "/usr/share/bcel/lib/bcel.jar" ] ; then
- export CLASSPATH="${CLASSPATH}:/usr/share/bcel/lib/bcel.jar"
- export DEP_APPEND="${DEP_APPEND} bcel"
- fi
-
- ./build.sh -Ddist.dir=${D}/usr/share/ant || die
-}
-
-src_install() {
- cp ${FILESDIR}/${PV}/ant ${S}/src/ant
-
- exeinto /usr/bin
- doexe src/ant
- for each in antRun runant.pl runant.py complete-ant-cmd.pl ; do
- dobin ${S}/src/script/${each}
- done
-
- java-pkg_dojar build/lib/*.jar
-
- dodoc LICENSE LICENSE.* README WHATSNEW KEYS
- use doc && dohtml welcome.html
- use doc && dohtml -r docs/*
-}
diff --git a/dev-java/ant/ant-1.6.0-r2.ebuild b/dev-java/ant/ant-1.6.0-r2.ebuild
deleted file mode 100644
index 41d222225388..000000000000
--- a/dev-java/ant/ant-1.6.0-r2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ant-1.6.0-r2.ebuild,v 1.8 2004/07/02 04:18:20 eradicator Exp $
-
-inherit java-pkg eutils
-
-DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files."
-HOMEPAGE="http://ant.apache.org/"
-SRC_URI="mirror://apache/ant/source/apache-${PN}-${PV}-src.tar.bz2"
-
-LICENSE="Apache-1.1"
-SLOT="0"
-KEYWORDS="-* ~x86"
-IUSE="doc optional-tasks"
-
-DEPEND="virtual/libc
- >=virtual/jdk-1.4
- >=dev-java/java-config-1.2"
-RDEPEND=">=virtual/jdk-1.4
- app-shells/bash
- >=dev-java/java-config-1.2"
-PDEPEND="optional-tasks? ( =dev-java/ant-optional-1.6.0-r2 )"
-
-S="${WORKDIR}/apache-ant-${PV}"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # Patch build.sh to die with non-zero exit code in case of errors.
- # This patch may be useful for all ant versions.
- epatch ${FILESDIR}/build.sh-exit-fix.patch.gz
-}
-
-src_compile() {
- addwrite "/proc/self/maps"
- export JAVA_HOME=${JDK_HOME}
- if [ `arch` == "ppc" ] ; then
- # We're compiling _ON_ PPC
- export THREADS_FLAG="green"
- fi
-
- ./build.sh -Ddist.dir=${D}/usr/share/ant || die
-}
-
-src_install() {
- cp ${FILESDIR}/${PV}-${PR}/ant ${S}/src/ant
- exeinto /usr/bin
- doexe src/ant
- for each in antRun runant.pl runant.py complete-ant-cmd.pl ; do
- dobin ${S}/src/script/${each}
- done
-
- insinto /etc/env.d
- doins ${FILESDIR}/20ant
-
- java-pkg_dojar build/lib/ant.jar
- java-pkg_dojar build/lib/ant-launcher.jar
-
- dodoc LICENSE LICENSE.* README WHATSNEW KEYS
- use doc && dohtml welcome.html
- use doc && dohtml -r docs/*
-}
diff --git a/dev-java/ant/ant-1.6.2-r1.ebuild b/dev-java/ant/ant-1.6.2-r1.ebuild
deleted file mode 100644
index d2265ae10bd2..000000000000
--- a/dev-java/ant/ant-1.6.2-r1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ant-1.6.2-r1.ebuild,v 1.1 2004/07/23 21:29:25 axxo Exp $
-
-inherit java-pkg eutils
-
-DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files."
-HOMEPAGE="http://ant.apache.org/"
-SRC_URI="mirror://apache/ant/source/apache-${PN}-${PV}-src.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="doc"
-
-DEPEND="virtual/libc
- >=virtual/jdk-1.4
- >=dev-java/java-config-1.2
- !<dev-java/ant-optional-${PVR}"
-RDEPEND=">=virtual/jdk-1.4
- app-shells/bash
- >=dev-java/java-config-1.2"
-PDEPEND="=dev-java/ant-optional-${PVR}"
-
-S="${WORKDIR}/apache-ant-${PV}"
-
-pkg_setup() {
- if [ -n "$JAVA_HOME" ] ; then
- export CLASSPATH=".:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/jre/lib/rt.jar:."
- else
- einfo "Warning: JAVA_HOME environment variable is not set (or not exported)."
- einfo " If build fails because sun.* classes could not be found"
- einfo " you will need to set the JAVA_HOME environment variable"
- einfo " to the installation directory of java."
- einfo " Try using java-config script"
- die
- fi
-
- if [ `arch` == "ppc" ] ; then
- # We're compiling _ON_ PPC
- export THREADS_FLAG="green"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # Patch build.sh to die with non-zero exit code in case of errors.
- # This patch may be useful for all ant versions.
- epatch ${FILESDIR}/build.sh-exit-fix.patch.gz
-}
-
-src_compile() {
- addwrite "/proc/self/maps"
-
- local myc
- myc="${myc} -Ddist.dir=${D}/usr/share/ant"
- myc="${myc} -Djavac.target=1.4"
-
- echo $CLASSPATH
- ./build.sh -Ddist.dir=${D}/usr/share/ant || die
-}
-
-src_install() {
- cp ${FILESDIR}/${PV}/ant ${S}/src/ant
-
- exeinto /usr/bin
- doexe src/ant
-
- dodir /usr/share/ant/bin
- for each in antRun runant.pl runant.py complete-ant-cmd.pl ; do
- dobin ${S}/src/script/${each}
- dosym /usr/bin/${each} /usr/share/ant/bin/${each}
- done
-
- insinto /etc/env.d
- doins ${FILESDIR}/20ant
-
- java-pkg_dojar build/lib/ant.jar
- java-pkg_dojar build/lib/ant-launcher.jar
-
- dodoc LICENSE LICENSE.* README WHATSNEW KEYS
- use doc && dohtml welcome.html
- use doc && dohtml -r docs/*
-}
diff --git a/dev-java/ant/ant-1.6.2.ebuild b/dev-java/ant/ant-1.6.2.ebuild
deleted file mode 100644
index d878afb3337a..000000000000
--- a/dev-java/ant/ant-1.6.2.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ant-1.6.2.ebuild,v 1.2 2004/07/18 13:12:59 axxo Exp $
-
-inherit java-pkg eutils
-
-DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files."
-HOMEPAGE="http://ant.apache.org/"
-SRC_URI="mirror://apache/ant/source/apache-${PN}-${PV}-src.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="doc"
-
-DEPEND="virtual/libc
- >=virtual/jdk-1.4
- >=dev-java/java-config-1.2
- !<dev-java/ant-optional-${PV}"
-RDEPEND=">=virtual/jdk-1.4
- app-shells/bash
- >=dev-java/java-config-1.2"
-PDEPEND="=dev-java/ant-optional-${PV}"
-
-S="${WORKDIR}/apache-ant-${PV}"
-
-pkg_setup() {
- if [ -n "$JAVA_HOME" ] ; then
- export CLASSPATH=".:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/jre/lib/rt.jar:."
- else
- einfo "Warning: JAVA_HOME environment variable is not set (or not exported)."
- einfo " If build fails because sun.* classes could not be found"
- einfo " you will need to set the JAVA_HOME environment variable"
- einfo " to the installation directory of java."
- einfo " Try using java-config script"
- die
- fi
-
- if [ `arch` == "ppc" ] ; then
- # We're compiling _ON_ PPC
- export THREADS_FLAG="green"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # Patch build.sh to die with non-zero exit code in case of errors.
- # This patch may be useful for all ant versions.
- epatch ${FILESDIR}/build.sh-exit-fix.patch.gz
-}
-
-src_compile() {
- addwrite "/proc/self/maps"
-
- local myc
- myc="${myc} -Ddist.dir=${D}/usr/share/ant"
- myc="${myc} -Djavac.target=1.4"
-
- echo $CLASSPATH
- ./build.sh -Ddist.dir=${D}/usr/share/ant || die
-}
-
-src_install() {
- cp ${FILESDIR}/${PV}/ant ${S}/src/ant
-
- exeinto /usr/bin
- doexe src/ant
-
- dodir /usr/share/ant/bin
- for each in antRun runant.pl runant.py complete-ant-cmd.pl ; do
- dobin ${S}/src/script/${each}
- dosym /usr/bin/${each} /usr/share/ant/bin/${each}
- done
-
- insinto /etc/env.d
- doins ${FILESDIR}/20ant
-
- java-pkg_dojar build/lib/ant.jar
- java-pkg_dojar build/lib/ant-launcher.jar
-
- dodoc LICENSE LICENSE.* README WHATSNEW KEYS
- use doc && dohtml welcome.html
- use doc && dohtml -r docs/*
-}
diff --git a/dev-java/ant/files/1.5.3/1_6_backport-jdk142.patch.gz b/dev-java/ant/files/1.5.3/1_6_backport-jdk142.patch.gz
deleted file mode 100644
index 2993ab1303e2..000000000000
--- a/dev-java/ant/files/1.5.3/1_6_backport-jdk142.patch.gz
+++ /dev/null
Binary files differ
diff --git a/dev-java/ant/files/1.5.3/ant b/dev-java/ant/files/1.5.3/ant
deleted file mode 100644
index 36e4786cd715..000000000000
--- a/dev-java/ant/files/1.5.3/ant
+++ /dev/null
@@ -1,89 +0,0 @@
-#! /bin/bash
-
-# Copyright (c) 2001-2003 The Apache Software Foundation. All rights
-# reserved.
-# Edited for Gentoo Linux
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/files/1.5.3/ant,v 1.3 2004/07/18 02:50:14 dragonheart Exp $
-
-if [ -f $HOME/.gentoo/java-env ] ; then
- source $HOME/.gentoo/java-env
-else
- JAVA_HOME=`java-config --jdk-home`
- if [ -z $JAVA_HOME ] ; then
- JAVA_HOME=`java-config --jre-home`
- fi
- CLASSPATH=`java-config --classpath`:${CLASSPATH}
-fi
-
-if [ -z $JAVA_HOME ] ; then
- echo "Error: No JDK/JRE found!"
- exit 1
-fi
-
-# load system-wide ant configuration
-if [ -f "/etc/ant.conf" ] ; then
- . /etc/ant.conf
-fi
-
-# provide default values for people who don't use RPMs
-if [ -z "$rpm_mode" ] ; then
- rpm_mode=false;
-fi
-if [ -z "$usejikes" ] ; then
- usejikes=false;
-fi
-
-# load user ant configuration
-if [ -f "$HOME/.antrc" ] ; then
- . "$HOME/.antrc"
-fi
-
-ANT_HOME=/usr/share/ant
-
-# set ANT_LIB location
-ANT_LIB="${ANT_HOME}/lib"
-
-JAVACMD="`java-config --java`"
-
-if [ ! -x "$JAVACMD" ] ; then
- echo "Error: JAVA_HOME is not defined correctly."
- echo " We cannot execute $JAVACMD"
- exit 1
-fi
-
-if [ -n "$CLASSPATH" ] ; then
- LOCALCLASSPATH="$CLASSPATH"
-fi
-
-# add in the dependency .jar files
-LOCALCLASSPATH="${LOCALCLASSPATH}:`java-config --classpath=ant`"
-
-if [ -n "$JAVA_HOME" ] ; then
- if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then
- LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar"
- fi
-
- if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then
- LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip"
- fi
-
-else
- echo "Warning: JAVA_HOME environment variable is not set (or not exported)."
- echo " If build fails because sun.* classes could not be found"
- echo " you will need to set the JAVA_HOME environment variable"
- echo " to the installation directory of java."
-fi
-
-# Allow Jikes support (off by default)
-if $usejikes; then
- ANT_OPTS="$ANT_OPTS -Dbuild.compiler=jikes"
-fi
-
-# 2002-11-02, karltk@gentoo.org:
-# The Blackdown JDK on PPC hiccups with native threads
-#
-if [ "`arch`" == "ppc" ] ; then
- export THREADS_FLAG="green"
-fi
-
-"$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"
diff --git a/dev-java/ant/files/1.6.0-r2/ant b/dev-java/ant/files/1.6.0-r2/ant
deleted file mode 100644
index 113c3aaf4e85..000000000000
--- a/dev-java/ant/files/1.6.0-r2/ant
+++ /dev/null
@@ -1,89 +0,0 @@
-#! /bin/bash
-
-# Copyright (c) 2001-2003 The Apache Software Foundation. All rights
-# reserved.
-# Edited for Gentoo Linux
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/files/1.6.0-r2/ant,v 1.3 2004/07/18 02:50:14 dragonheart Exp $
-
-if [ -f $HOME/.gentoo/java-env ] ; then
- source $HOME/.gentoo/java-env
-else
- JAVA_HOME=`java-config --jdk-home`
- CLASSPATH=`java-config --classpath`:${CLASSPATH}
-fi
-
-if [ -z $JAVA_HOME ] ; then
- echo "Error: No JDK found!"
- echo "Try using java-config script to set your JDK"
- echo "Remember that you need a JDK not a JRE"
- exit 1
-fi
-
-# load system-wide ant configuration
-if [ -f "/etc/ant.conf" ] ; then
- . /etc/ant.conf
-fi
-
-# provide default values for people who don't use RPMs
-if [ -z "$rpm_mode" ] ; then
- rpm_mode=false;
-fi
-if [ -z "$usejikes" ] ; then
- usejikes=false;
-fi
-
-# load user ant configuration
-if [ -f "$HOME/.antrc" ] ; then
- . "$HOME/.antrc"
-fi
-
-ANT_HOME=/usr/share/ant
-
-# set ANT_LIB location
-ANT_LIB="${ANT_HOME}/lib"
-
-JAVACMD="`java-config --java`"
-
-if [ ! -x "$JAVACMD" ] ; then
- echo "Error: JAVA_HOME is not defined correctly."
- echo " We cannot execute $JAVACMD"
- exit 1
-fi
-
-if [ -n "$CLASSPATH" ] ; then
- LOCALCLASSPATH="$CLASSPATH"
-fi
-
-# add in the dependency .jar files
-LOCALCLASSPATH="${LOCALCLASSPATH}:`java-config --classpath=ant,ant-optional,log4j,xerces,xalan,junit,antlr,bcel,bsh,commons-beanutils,commons-logging,commons-net,oro,jdepend,jsch,regexp,rhino,jython,jta,jaf,javamail 2> /dev/null`"
-
-if [ -n "$JAVA_HOME" ] ; then
- if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then
- LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar"
- fi
-
- if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then
- LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip"
- fi
-
-else
- echo "Warning: JAVA_HOME environment variable is not set (or not exported)."
- echo " If build fails because sun.* classes could not be found"
- echo " you will need to set the JAVA_HOME environment variable"
- echo " to the installation directory of java."
- echo " Try using java-config script"
-fi
-
-# Allow Jikes support (off by default)
-if $usejikes; then
- ANT_OPTS="$ANT_OPTS -Dbuild.compiler=jikes"
-fi
-
-# 2002-11-02, karltk@gentoo.org:
-# The Blackdown JDK on PPC hiccups with native threads
-#
-if [ "`arch`" == "ppc" ] ; then
- export THREADS_FLAG="green"
-fi
-
-"$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"
diff --git a/dev-java/ant/files/1.6.2-r1/ant b/dev-java/ant/files/1.6.2-r1/ant
deleted file mode 100644
index 176fa1474c27..000000000000
--- a/dev-java/ant/files/1.6.2-r1/ant
+++ /dev/null
@@ -1,164 +0,0 @@
-#! /bin/bash
-
-# Copyright 2001-2004 The Apache Software Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Edited for Gentoo Linux
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/files/1.6.2-r1/ant,v 1.1 2004/07/23 21:29:25 axxo Exp $
-
-# Extract launch and ant arguments, (see details below).
-ant_exec_args=
-no_config=false
-use_jikes_default=false
-ant_exec_debug=false
-show_help=false
-for arg in "$@" ; do
- if [ "$arg" = "--noconfig" ] ; then
- no_config=true
- elif [ "$arg" = "--usejikes" ] ; then
- use_jikes_default=true
- elif [ "$arg" = "--execdebug" ] ; then
- ant_exec_debug=true
- elif [ my"$arg" = my"--h" -o my"$arg" = my"--help" ] ; then
- show_help=true
- ant_exec_args="$ant_exec_args -h"
- else
- if [ my"$arg" = my"-h" -o my"$arg" = my"-help" ] ; then
- show_help=true
- fi
- ant_exec_args="$ant_exec_args \"$arg\""
- fi
-done
-
-# Source/default ant configuration
-if $no_config ; then
- rpm_mode=false
- usejikes=$use_jikes_default
-else
- # load system-wide ant configuration
- if [ -f "/etc/ant.conf" ] ; then
- . /etc/ant.conf
- fi
-
- # load user ant configuration
- if [ -f "$HOME/.ant/ant.conf" ] ; then
- . $HOME/.ant/ant.conf
- fi
- if [ -f "$HOME/.antrc" ] ; then
- . "$HOME/.antrc"
- fi
-
- # provide default configuration values
- if [ -z "$rpm_mode" ] ; then
- rpm_mode=false
- fi
- if [ -z "$usejikes" ] ; then
- usejikes=$use_jikes_default
- fi
-fi
-
-if [ -f $HOME/.gentoo/java-env ] ; then
- source $HOME/.gentoo/java-env
-else
- JAVA_HOME=`java-config --jdk-home`
- CLASSPATH=`java-config --classpath`:${CLASSPATH}
-fi
-
-if [ -z $JAVA_HOME ] ; then
- echo "Error: No JDK found!"
- echo "Try using java-config script to set your JDK"
- echo "Remember that you need a JDK not a JRE"
- exit 1
-fi
-
-ANT_HOME=/usr/share/ant
-
-# set ANT_LIB location
-ANT_LIB="${ANT_HOME}/lib"
-
-JAVACMD="`java-config --java`"
-
-if [ ! -x "$JAVACMD" ] ; then
- echo "Error: JAVA_HOME is not defined correctly."
- echo " We cannot execute $JAVACMD"
- exit 1
-fi
-
-if [ -z "$LOCALCLASSPATH" ] ; then
- LOCALCLASSPATH=$ANT_LIB/ant-launcher.jar
-else
- LOCALCLASSPATH=$ANT_LIB/ant-launcher.jar:$LOCALCLASSPATH
-fi
-
-
-if [ -n "$JAVA_HOME" ] ; then
- if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then
- LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar"
- fi
-
- if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then
- LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip"
- fi
-
-else
- echo "Warning: JAVA_HOME environment variable is not set (or not exported)."
- echo " If build fails because sun.* classes could not be found"
- echo " you will need to set the JAVA_HOME environment variable"
- echo " to the installation directory of java."
- echo " Try using java-config script"
-fi
-
-# Allow Jikes support (off by default)
-if $usejikes; then
- ANT_OPTS="$ANT_OPTS -Dbuild.compiler=jikes"
-fi
-
-# Show script help if requested
-if $show_help ; then
- echo $0 '[script options] [options] [target [target2 [target3] ..]]'
- echo 'Script Options:'
- echo ' --help, --h print this message and ant help'
- echo ' --noconfig suppress sourcing of /etc/ant.conf,'
- echo ' $HOME/.ant/ant.conf, and $HOME/.antrc'
- echo ' configuration files'
- echo ' --usejikes enable use of jikes by default, unless'
- echo ' set explicitly in configuration files'
- echo ' --execdebug print ant exec line generated by this'
- echo ' launch script'
- echo ' '
-fi
-
-# Execute ant using eval/exec to preserve spaces in paths,
-# java options, and ant args
-ant_sys_opts=
-
-
-if [ -n "$JIKESPATH" ]; then
- ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\""
-fi
-
-# 2002-11-02, karltk@gentoo.org:
-# The Blackdown JDK on PPC hiccups with native threads
-#
-if [ "`arch`" == "ppc" ] ; then
- export THREADS_FLAG="green"
-fi
-
-
-ant_exec_command="exec \"$JAVACMD\" $ANT_OPTS -classpath \"$LOCALCLASSPATH\" -Dant.home=\"$ANT_HOME\" -Dant.library.dir=\"$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -lib \"$CLASSPATH\" $ant_exec_args"
-
-if $ant_exec_debug ; then
- echo $ant_exec_command
-fi
-eval $ant_exec_command
diff --git a/dev-java/ant/files/1.6.2/ant b/dev-java/ant/files/1.6.2/ant
deleted file mode 100644
index eb60e9cfa66e..000000000000
--- a/dev-java/ant/files/1.6.2/ant
+++ /dev/null
@@ -1,90 +0,0 @@
-#! /bin/bash
-
-# Copyright (c) 2001-2003 The Apache Software Foundation. All rights
-# reserved.
-# Edited for Gentoo Linux
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/files/1.6.2/ant,v 1.1 2004/07/17 09:58:26 axxo Exp $
-
-if [ -f $HOME/.gentoo/java-env ] ; then
- source $HOME/.gentoo/java-env
-else
- JAVA_HOME=`java-config --jdk-home`
- CLASSPATH=`java-config --classpath`:${CLASSPATH}
-fi
-
-if [ -z $JAVA_HOME ] ; then
- echo "Error: No JDK found!"
- echo "Try using java-config script to set your JDK"
- echo "Remember that you need a JDK not a JRE"
- exit 1
-fi
-
-# load system-wide ant configuration
-if [ -f "/etc/ant.conf" ] ; then
- . /etc/ant.conf
-fi
-
-# provide default values for people who don't use RPMs
-if [ -z "$rpm_mode" ] ; then
- rpm_mode=false;
-fi
-if [ -z "$usejikes" ] ; then
- usejikes=false;
-fi
-
-# load user ant configuration
-if [ -f "$HOME/.antrc" ] ; then
- . "$HOME/.antrc"
-fi
-
-ANT_HOME=/usr/share/ant
-
-# set ANT_LIB location
-ANT_LIB="${ANT_HOME}/lib"
-
-JAVACMD="`java-config --java`"
-
-if [ ! -x "$JAVACMD" ] ; then
- echo "Error: JAVA_HOME is not defined correctly."
- echo " We cannot execute $JAVACMD"
- exit 1
-fi
-
-
-if [ -n "$CLASSPATH" ] ; then
- LOCALCLASSPATH="$CLASSPATH"
-fi
-
-# add in the dependency .jar files
-LOCALCLASSPATH="$ANT_LIB/ant-launcher.jar:${LOCALCLASSPATH}:`java-config --classpath=ant,ant-optional,log4j,xerces-2,xalan,junit,antlr,bcel,bsh,commons-beanutils,commons-logging,commons-net,oro,jdepend,jsch,regexp,rhino,jython,jta,jaf,javamail 2> /dev/null`"
-
-if [ -n "$JAVA_HOME" ] ; then
- if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then
- LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar"
- fi
-
- if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then
- LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip"
- fi
-
-else
- echo "Warning: JAVA_HOME environment variable is not set (or not exported)."
- echo " If build fails because sun.* classes could not be found"
- echo " you will need to set the JAVA_HOME environment variable"
- echo " to the installation directory of java."
- echo " Try using java-config script"
-fi
-
-# Allow Jikes support (off by default)
-if $usejikes; then
- ANT_OPTS="$ANT_OPTS -Dbuild.compiler=jikes"
-fi
-
-# 2002-11-02, karltk@gentoo.org:
-# The Blackdown JDK on PPC hiccups with native threads
-#
-if [ "`arch`" == "ppc" ] ; then
- export THREADS_FLAG="green"
-fi
-
-"$JAVACMD" $ANT_OPTS -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" org.apache.tools.ant.launch.Launcher $ANT_ARGS -lib "$CLASSPATH" "$@"
diff --git a/dev-java/ant/files/digest-ant-1.5.3-r5 b/dev-java/ant/files/digest-ant-1.5.3-r5
deleted file mode 100644
index 76649f44e954..000000000000
--- a/dev-java/ant/files/digest-ant-1.5.3-r5
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b360fe06ad344df9f6e0b3f3ce0f9c60 apache-ant-1.5.3-1-src.tar.bz2 4486166
diff --git a/dev-java/ant/files/digest-ant-1.6.0-r2 b/dev-java/ant/files/digest-ant-1.6.0-r2
deleted file mode 100644
index dd7fbab35622..000000000000
--- a/dev-java/ant/files/digest-ant-1.6.0-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 18aed5aa33951aa85c237fc4139bad6e apache-ant-1.6.0-src.tar.bz2 6217526
diff --git a/dev-java/ant/files/digest-ant-1.6.2 b/dev-java/ant/files/digest-ant-1.6.2
deleted file mode 100644
index 511c4167d672..000000000000
--- a/dev-java/ant/files/digest-ant-1.6.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 83c3adefdbf90bcbc4b804d4c55c0778 apache-ant-1.6.2-src.tar.bz2 6282237
diff --git a/dev-java/ant/files/digest-ant-1.6.2-r1 b/dev-java/ant/files/digest-ant-1.6.2-r1
deleted file mode 100644
index 511c4167d672..000000000000
--- a/dev-java/ant/files/digest-ant-1.6.2-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 83c3adefdbf90bcbc4b804d4c55c0778 apache-ant-1.6.2-src.tar.bz2 6282237