Commit c1e5c087 authored by Emmanuel Bourg's avatar Emmanuel Bourg

New upstream version 1.10.0

parent 242174c5
......@@ -125,7 +125,6 @@ Erik Hatcher
Erik Langenbach
Erik Meade
Ernst de Haan
Francesco Steccanella
Frank Harnack
Frank Somers
Frank Zeyda
......@@ -135,7 +134,6 @@ Frederic Lavigne
Gary S. Weaver
Gautam Guliani
Gene-Sung Chung
George Bateman
Georges-Etienne Legendre
Gero Vermaas
Gerrit Riessen
......@@ -163,7 +161,6 @@ Issa Gorissen
Ivan Ivanov
J Bleijenbergh
Jack J. Woehr
Jaikiran Pai
James Duncan Davidson
Jan Cumps
Jan Matèrne
......@@ -216,7 +213,6 @@ Kevin Z Grey
Kim Hansen
Kirk Wylie
Kristian Rosenvold
Kui Liu
Kyle Adams
Lajos Veres
Larry Shatzer
......@@ -236,7 +232,6 @@ Mariusz Nowostawski
Mark A. Ziesemer
Mark DeLaFranier
Mark Hecker
Mark Niggemann
Mark R. Diggory
Mark Salter
Markus Kahl
......@@ -325,7 +320,6 @@ Ray Waldin
Reinhard Pointner
Remie Bolte
René Krell
Reudismam Rolim
Richard Evans
Richard Steele
Rick Beton
......
Apache Ant
Copyright 1999-2018 The Apache Software Foundation
Copyright 1999-2016 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
......
This diff is collapsed.
......@@ -16,38 +16,33 @@
# limitations under the License.
# OS specific support. $var _must_ be set to either true or false.
cygwin=false
darwin=false
cygwin=false;
darwin=false;
case "`uname`" in
CYGWIN*)
cygwin=true
;;
Darwin*)
darwin=true
if [ -z "$JAVA_HOME" ]; then
if [ -x '/usr/libexec/java_home' ]; then
JAVA_HOME=`/usr/libexec/java_home`
elif [ -d "/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home" ]; then
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
fi
fi
;;
CYGWIN*) cygwin=true ;;
Darwin*) darwin=true
if [ -z "$JAVA_HOME" ] ; then
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
fi
;;
esac
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin; then
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
if $cygwin ; then
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
# You will need to specify JAVA_HOME if compiling with 1.2 or later.
if [ -n "$JAVA_HOME" ]; then
if [ -f "$JAVA_HOME/lib/tools.jar" ]; then
if [ -n "$JAVA_HOME" ] ; then
if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then
CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/tools.jar
fi
if [ -f "$JAVA_HOME/lib/classes.zip" ]; then
if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then
CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/classes.zip
fi
else
......@@ -60,20 +55,20 @@ fi
# IBM's JDK on AIX uses strange locations for the executables:
# JAVA_HOME/jre/sh for java and rmid
# JAVA_HOME/sh for javac and rmic
if [ -z "$JAVAC" ]; then
if [ -n "$JAVA_HOME" ]; then
if [ -x "$JAVA_HOME/sh/javac" ]; then
JAVAC=${JAVA_HOME}/sh/javac
if [ -z "$JAVAC" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/sh/javac" ] ; then
JAVAC=${JAVA_HOME}/sh/javac;
else
JAVAC=${JAVA_HOME}/bin/javac
JAVAC=${JAVA_HOME}/bin/javac;
fi
else
JAVAC=javac
fi
fi
if [ -z "$JAVACMD" ]; then
if [ -n "$JAVA_HOME" ]; then
if [ -x "$JAVA_HOME/jre/sh/java" ]; then
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
JAVACMD=$JAVA_HOME/jre/sh/java
else
JAVACMD=$JAVA_HOME/bin/java
......@@ -83,7 +78,7 @@ if [ -z "$JAVACMD" ]; then
fi
fi
if [ ! -x "$JAVACMD" ]; then
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly."
echo " We cannot execute $JAVACMD"
exit
......@@ -94,21 +89,22 @@ export ANT_HOME
echo ... Bootstrapping Ant Distribution
if [ -d "bootstrap" ]; then
if [ -d "bootstrap" ] ; then
rm -r bootstrap
fi
if [ -d "build" ]; then
if [ -d "build" ] ; then
rm -r build
fi
DIRLIBS=lib/optional/*.jar
for i in ${DIRLIBS}; do
# if the directory is empty, then it will return the input string
# this is stupid, so case for it
if [ "$i" != "${DIRLIBS}" ]; then
CLASSPATH=$CLASSPATH:"$i"
fi
for i in ${DIRLIBS}
do
# if the directory is empty, then it will return the input string
# this is stupid, so case for it
if [ "$i" != "${DIRLIBS}" ] ; then
CLASSPATH=$CLASSPATH:"$i"
fi
done
TOOLS=src/main/org/apache/tools
......@@ -130,14 +126,14 @@ mkdir -p bin
echo ... Compiling Ant Classes
"${JAVAC}" $BOOTJAVAC_OPTS -d ${CLASSDIR} ${TOOLS}/bzip2/*.java ${TOOLS}/tar/*.java ${TOOLS}/zip/*.java \
${TOOLS}/ant/util/regexp/RegexpMatcher.java \
${TOOLS}/ant/util/regexp/RegexpMatcherFactory.java \
${TOOLS}/ant/property/*.java \
${TOOLS}/ant/types/*.java \
${TOOLS}/ant/types/resources/*.java \
${TOOLS}/ant/*.java ${TOOLS}/ant/taskdefs/*.java \
${TOOLS}/ant/taskdefs/compilers/*.java \
${TOOLS}/ant/taskdefs/condition/*.java
${TOOLS}/ant/util/regexp/RegexpMatcher.java \
${TOOLS}/ant/util/regexp/RegexpMatcherFactory.java \
${TOOLS}/ant/property/*.java \
${TOOLS}/ant/types/*.java \
${TOOLS}/ant/types/resources/*.java \
${TOOLS}/ant/*.java ${TOOLS}/ant/taskdefs/*.java \
${TOOLS}/ant/taskdefs/compilers/*.java \
${TOOLS}/ant/taskdefs/condition/*.java
ret=$?
if [ $ret != 0 ]; then
echo ... Failed compiling Ant classes !
......@@ -147,9 +143,9 @@ fi
echo ... Copying Required Files
cp src/main/org/apache/tools/ant/taskdefs/defaults.properties \
${CLASSDIR}/org/apache/tools/ant/taskdefs
${CLASSDIR}/org/apache/tools/ant/taskdefs
cp src/main/org/apache/tools/ant/types/defaults.properties \
${CLASSDIR}/org/apache/tools/ant/types
${CLASSDIR}/org/apache/tools/ant/types
cp src/script/antRun bin
chmod +x bin/antRun
......@@ -162,6 +158,7 @@ if [ $ret != 0 ]; then
exit $ret
fi
echo ... Cleaning Up Build Directories
rm -rf ${CLASSDIR}
......
......@@ -16,44 +16,37 @@
# limitations under the License.
# OS specific support. $var _must_ be set to either true or false.
cygwin=false
darwin=false
cygwin=false;
darwin=false;
case "`uname`" in
CYGWIN*)
cygwin=true
;;
Darwin*)
darwin=true
if [ -z "$JAVA_HOME" ]; then
if [ -x '/usr/libexec/java_home' ]; then
JAVA_HOME=`/usr/libexec/java_home`
elif [ -d "/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home" ]; then
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
fi
fi
;;
CYGWIN*) cygwin=true ;;
Darwin*) darwin=true
if [ -z "$JAVA_HOME" ] ; then
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
fi
;;
esac
REALANTHOME=$ANT_HOME
if [ -z "$PWD" ]; then
ANT_HOME=./bootstrap
ANT_HOME=./bootstrap
else
ANT_HOME="$PWD"/bootstrap
ANT_HOME="$PWD"/bootstrap
fi
export ANT_HOME
if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/bin/antRun; then
if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/bin/antRun ; then
/bin/sh ./bootstrap.sh
fi
if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/bin/antRun; then
if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/bin/antRun ; then
echo Bootstrap FAILED
exit 1
fi
if [ "$REALANTHOME" != "" ]; then
if [ "$REALANTHOME" != "" ] ; then
if $cygwin; then
REALANTHOME=`cygpath --windows "$REALANTHOME"`
REALANTHOME=`cygpath --windows "$REALANTHOME"`
fi
ANT_INSTALL="-Dant.install=$REALANTHOME"
else
......@@ -61,3 +54,4 @@ else
fi
bootstrap/bin/ant -nouserlib -lib lib/optional "$ANT_INSTALL" $*
This diff is collapsed.
......@@ -523,10 +523,6 @@
<first>Ernst</first>
<last>de Haan</last>
</name>
<name>
<first>Francesco</first>
<last>Steccanella</last>
</name>
<name>
<first>Frank</first>
<last>Harnack</last>
......@@ -564,10 +560,6 @@
<first>Gene-Sung</first>
<last>Chung</last>
</name>
<name>
<first>George</first>
<last>Bateman</last>
</name>
<name>
<first>Georges-Etienne</first>
<last>Legendre</last>
......@@ -677,10 +669,6 @@
<middle>J.</middle>
<last>Woehr</last>
</name>
<name>
<first>Jaikiran</first>
<last>Pai</last>
</name>
<name>
<first>James</first>
<middle>Duncan</middle>
......@@ -891,10 +879,6 @@
<first>Kristian</first>
<last>Rosenvold</last>
</name>
<name>
<first>Kui</first>
<last>Liu</last>
</name>
<name>
<first>Kyle</first>
<last>Adams</last>
......@@ -971,10 +955,6 @@
<middle>R.</middle>
<last>Diggory</last>
</name>
<name>
<first>Mark</first>
<last>Niggemann</last>
</name>
<name>
<first>Mark</first>
<middle>A.</middle>
......@@ -1313,10 +1293,6 @@
<first>René</first>
<last>Krell</last>
</name>
<name>
<first>Reudismam</first>
<last>Rolim</last>
</name>
<name>
<first>Richard</first>
<last>Evans</last>
......
This diff is collapsed.
......@@ -13,60 +13,54 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# This file declares the libraries for use in a given release of the components
#this file declares the libraries for use in
#a given release of the components
# If you change this, change the checksum to match
m2.version=2.1.3
m2.url=https://archive.apache.org/dist/maven/ant-tasks
m2.artifact-name=maven-ant-tasks
m2.jar.name=${m2.artifact-name}-${m2.version}.jar
#if you change this, change the checksum to match
m2.version=2.0.4
m2.url=http\://repo1.maven.org/maven2
m2.artifact-name=maven-artifact-ant
m2.jar.name=${m2.artifact-name}-${m2.version}-dep.jar
#this is the URL of the antlib library, that is pulled down for everything else.
m2.antlib.url=${m2.url}/${m2.version}/binaries/${m2.jar.name}
m2.antlib.url=${m2.url}/org/apache/maven/${m2.artifact-name}/${m2.version}/${m2.jar.name}
#this is the sha1 checksum of the artifact
m2.sha1.checksum=b09be554228d66d208e5fef5266844aacf443abc
m2.sha1.checksum=4e7ddfdb91600e9b59bb965ff8eef2f06015df50
# Repository to use by default for fetching dependencies.
m2.repo=http://repo1.maven.org/maven2/
# Versions of different libraries. Please keep in alphabetical order, except
# when a specific dependency forces them to be out-of-order
#versions of different libraries. Please keep in alphabetical order, except
#when a specific dependency forces them to be out-of-order