From fdc14b8ff96b4a3c16b7cdf933c16fd9320ee3c1 Mon Sep 17 00:00:00 2001 From: wisberg Date: Thu, 17 Feb 2005 19:44:25 +0000 Subject: working bash script --- build/release/readme.txt | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'build') 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 -- cgit v1.2.3