diff options
author | Adrian Almenar <strider@gentoo.org> | 2004-01-22 01:33:39 +0000 |
---|---|---|
committer | Adrian Almenar <strider@gentoo.org> | 2004-01-22 01:33:39 +0000 |
commit | 230b68f33c28d0f34293030c3c298722e22f7f05 (patch) | |
tree | 418e51065a37fab5afdde543f1e82cdb7a9676db /dev-java/ant/files | |
parent | stable bump and cleanup - 0.98.0 doesn't work with libxml2.6 (diff) | |
download | historical-230b68f33c28d0f34293030c3c298722e22f7f05.tar.gz historical-230b68f33c28d0f34293030c3c298722e22f7f05.tar.bz2 historical-230b68f33c28d0f34293030c3c298722e22f7f05.zip |
Removed Broken ant version.
Diffstat (limited to 'dev-java/ant/files')
-rw-r--r-- | dev-java/ant/files/1.6.0/ant | 89 | ||||
-rw-r--r-- | dev-java/ant/files/digest-ant-1.6.0 | 1 |
2 files changed, 0 insertions, 90 deletions
diff --git a/dev-java/ant/files/1.6.0/ant b/dev-java/ant/files/1.6.0/ant deleted file mode 100644 index 1ae242b5fc49..000000000000 --- a/dev-java/ant/files/1.6.0/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/ant,v 1.1 2003/12/25 17:46:55 strider 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`" - -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/digest-ant-1.6.0 b/dev-java/ant/files/digest-ant-1.6.0 deleted file mode 100644 index dd7fbab35622..000000000000 --- a/dev-java/ant/files/digest-ant-1.6.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 18aed5aa33951aa85c237fc4139bad6e apache-ant-1.6.0-src.tar.bz2 6217526 |