diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2004-09-10 19:41:39 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2004-09-10 19:41:39 +0000 |
commit | 237666a03b9b17a44c4b9deb82deeefd84040cc6 (patch) | |
tree | 90176143720ccea6a8f63b1130aad5fb170f94c2 /dev-java/ant/files | |
parent | revision bump: ant moved to ant-core (Manifest recommit) (diff) | |
download | gentoo-2-237666a03b9b17a44c4b9deb82deeefd84040cc6.tar.gz gentoo-2-237666a03b9b17a44c4b9deb82deeefd84040cc6.tar.bz2 gentoo-2-237666a03b9b17a44c4b9deb82deeefd84040cc6.zip |
This is now a metapackage for ant-core & ant-tasks
Diffstat (limited to 'dev-java/ant/files')
-rw-r--r-- | dev-java/ant/files/1.5.4/ant | 89 | ||||
-rw-r--r-- | dev-java/ant/files/1.6.2-r5/ant | 166 | ||||
-rw-r--r-- | dev-java/ant/files/20ant | 1 | ||||
-rw-r--r-- | dev-java/ant/files/build.sh-exit-fix.patch.gz | bin | 256 -> 0 bytes | |||
-rw-r--r-- | dev-java/ant/files/digest-ant-1.5.4-r1 | 1 | ||||
-rw-r--r-- | dev-java/ant/files/digest-ant-1.5.4-r2 | 0 | ||||
-rw-r--r-- | dev-java/ant/files/digest-ant-1.6.2-r5 | 1 | ||||
-rw-r--r-- | dev-java/ant/files/digest-ant-1.6.2-r6 | 0 | ||||
-rw-r--r-- | dev-java/ant/files/rpmbuild.patch.gz | bin | 1164 -> 0 bytes |
9 files changed, 0 insertions, 258 deletions
diff --git a/dev-java/ant/files/1.5.4/ant b/dev-java/ant/files/1.5.4/ant deleted file mode 100644 index 07f0c00f8162..000000000000 --- a/dev-java/ant/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/files/1.5.4/ant,v 1.4 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`" - -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-r5/ant b/dev-java/ant/files/1.6.2-r5/ant deleted file mode 100644 index 48600fd48a97..000000000000 --- a/dev-java/ant/files/1.6.2-r5/ant +++ /dev/null @@ -1,166 +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-r5/ant,v 1.3 2004/09/04 12:58:31 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 - -# add in the dependency .jar files -LOCALCLASSPATH="${LOCALCLASSPATH}:`java-config --classpath=ant,ant-tasks,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 - -# 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/20ant b/dev-java/ant/files/20ant deleted file mode 100644 index b4bcea575eff..000000000000 --- a/dev-java/ant/files/20ant +++ /dev/null @@ -1 +0,0 @@ -ANT_HOME="/usr/share/ant" diff --git a/dev-java/ant/files/build.sh-exit-fix.patch.gz b/dev-java/ant/files/build.sh-exit-fix.patch.gz Binary files differdeleted file mode 100644 index 541f796dd7ef..000000000000 --- a/dev-java/ant/files/build.sh-exit-fix.patch.gz +++ /dev/null diff --git a/dev-java/ant/files/digest-ant-1.5.4-r1 b/dev-java/ant/files/digest-ant-1.5.4-r1 deleted file mode 100644 index 80802420362a..000000000000 --- a/dev-java/ant/files/digest-ant-1.5.4-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 61ce45f5e62d304def5027d7ca36211e apache-ant-1.5.4-src.zip 6610843 diff --git a/dev-java/ant/files/digest-ant-1.5.4-r2 b/dev-java/ant/files/digest-ant-1.5.4-r2 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-java/ant/files/digest-ant-1.5.4-r2 diff --git a/dev-java/ant/files/digest-ant-1.6.2-r5 b/dev-java/ant/files/digest-ant-1.6.2-r5 deleted file mode 100644 index 511c4167d672..000000000000 --- a/dev-java/ant/files/digest-ant-1.6.2-r5 +++ /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-r6 b/dev-java/ant/files/digest-ant-1.6.2-r6 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-java/ant/files/digest-ant-1.6.2-r6 diff --git a/dev-java/ant/files/rpmbuild.patch.gz b/dev-java/ant/files/rpmbuild.patch.gz Binary files differdeleted file mode 100644 index 0a86f9559513..000000000000 --- a/dev-java/ant/files/rpmbuild.patch.gz +++ /dev/null |