aboutsummaryrefslogtreecommitdiffstats
path: root/build/release/readme.txt
diff options
context:
space:
mode:
authorwisberg <wisberg>2005-02-17 19:44:25 +0000
committerwisberg <wisberg>2005-02-17 19:44:25 +0000
commitfdc14b8ff96b4a3c16b7cdf933c16fd9320ee3c1 (patch)
treebbd14c97688ac161ff74fce3dec0821cefdfc5f7 /build/release/readme.txt
parent5d4864c66f5692fd43ecd21ef5a8822c720605c7 (diff)
downloadaspectj-fdc14b8ff96b4a3c16b7cdf933c16fd9320ee3c1.tar.gz
aspectj-fdc14b8ff96b4a3c16b7cdf933c16fd9320ee3c1.zip
working bash script
Diffstat (limited to 'build/release/readme.txt')
-rw-r--r--build/release/readme.txt20
1 files changed, 14 insertions, 6 deletions
diff --git a/build/release/readme.txt b/build/release/readme.txt
index b23769e31..aa9df9c4b 100644
--- a/build/release/readme.txt
+++ b/build/release/readme.txt
@@ -40,19 +40,27 @@ Known imperfect results in the AspectJ 1.1 release:
------ untested bash/sh script
-#!/bin/sh
+#!/bin/bash
+[ -n "$DEBUG" ] && set -vx
+scriptDir=`dirname "${0}"`
+scriptDir=`cd "$scriptDir"; pwd | sed 's|/cygdrive/c/|c:/|'`
+
sp="-Dskip.cvs=true -Daspectj.modules.dir=../.."
-sp="$${sp} -Djava13.home=d:/jdk13 -Djava14.home=d:/jdk14"
-alias myant="../../lib/ant/bin/ant"
+sp="${sp} -Djava13.home=c:/home/apps/jdk13"
+sp="${sp} -Djava14.home=c:/home/apps/jdk14"
+sp="${sp} -Djava15.home=c:/home/apps/jdk15"
+
+#alias myant="$scriptDir/../../lib/ant/bin/ant"
+myant="$scriptDir/../../lib/ant/bin/ant"
# clean
cd `dirname "$0"`
cd ..
-myant clean
+"$myant" clean
# build local tree and install distribution:
cd release
-myant install ${sp}
+"$myant" install ${sp}
# test installation and sources in local tree:
-myant test ${sp} -Dskip.build=true
+[ -z "$skipTest" ] && "$myant" test ${sp} -Dskip.build=true