summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorConor MacNeill <conor@apache.org>2001-08-06 10:24:03 +0000
committerConor MacNeill <conor@apache.org>2001-08-06 10:24:03 +0000
commit1a9be7f6fb0a2e02cf19933640c76be88b504d2e (patch)
treed25cc123fa19dbaf0a290b9b1753fcaf3a075fa7 /build.sh
parente2cf23ba9ce777e9f6d12236a616cf2db0d33c4d (diff)
downloadant-1a9be7f6fb0a2e02cf19933640c76be88b504d2e.tar.gz
Add test for Bootstrap failures
Simplify the build by using inheritAll="false" git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269472 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 629d16920..b62086766 100755
--- a/build.sh
+++ b/build.sh
@@ -8,6 +8,11 @@ if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/
/bin/sh ./bootstrap.sh
fi
+if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/bin/antRun ; then
+ echo Bootstrap FAILED
+ exit
+fi
+
LOCALCLASSPATH=lib/crimson.jar:lib/jaxp.jar
# add in the dependency .jar files
DIRLIBS=lib/optional/*.jar