diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-03-12 04:21:56 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-03-12 04:21:56 +0000 |
commit | 31f29ee2e71418e8dbe47752d85532f143b42ebd (patch) | |
tree | d17833cfca35ec7a5db086f1cd30d435d6046a6b /dev-java/ant-core/files | |
parent | Pruned old versions with same keywords. (diff) | |
download | gentoo-2-31f29ee2e71418e8dbe47752d85532f143b42ebd.tar.gz gentoo-2-31f29ee2e71418e8dbe47752d85532f143b42ebd.tar.bz2 gentoo-2-31f29ee2e71418e8dbe47752d85532f143b42ebd.zip |
Removing older version with same keywords.
(Portage version: 2.1_pre6)
Diffstat (limited to 'dev-java/ant-core/files')
-rw-r--r-- | dev-java/ant-core/files/1.5.4-ant | 89 | ||||
-rw-r--r-- | dev-java/ant-core/files/digest-ant-core-1.5.4-r2 | 1 |
2 files changed, 0 insertions, 90 deletions
diff --git a/dev-java/ant-core/files/1.5.4-ant b/dev-java/ant-core/files/1.5.4-ant deleted file mode 100644 index c940b86dc36c..000000000000 --- a/dev-java/ant-core/files/1.5.4-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-core/files/1.5.4-ant,v 1.2 2004/09/17 16:02:33 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-core - -# 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-core`" - -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-core/files/digest-ant-core-1.5.4-r2 b/dev-java/ant-core/files/digest-ant-core-1.5.4-r2 deleted file mode 100644 index 80802420362a..000000000000 --- a/dev-java/ant-core/files/digest-ant-core-1.5.4-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 61ce45f5e62d304def5027d7ca36211e apache-ant-1.5.4-src.zip 6610843 |