This is an automated email from the ASF dual-hosted git repository.
fhanik pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 2bd1c77 Correct paths for building the sample native image
2bd1c77 is described below
commit 2bd1c77681df92f96b6ff342371b9ca4cf74cec1
Author: Filip Hanik <[email protected]>
AuthorDate: Tue Apr 28 10:14:50 2020 -0700
Correct paths for building the sample native image
---
res/graal/build-tomcat-native-image.sh | 2 +-
res/graal/graal-measure.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/res/graal/build-tomcat-native-image.sh
b/res/graal/build-tomcat-native-image.sh
index 5fe6a16..0fc94f7 100755
--- a/res/graal/build-tomcat-native-image.sh
+++ b/res/graal/build-tomcat-native-image.sh
@@ -33,7 +33,7 @@ done
PRGDIR=`dirname "$PRG"`
cd $PRGDIR/../..
-ant && ant embed && ant test-compile
+ant clean && ant && ant embed && ant test-compile
mkdir -p output/graal
cd output/testclasses
diff --git a/res/graal/graal-measure.sh b/res/graal/graal-measure.sh
index 599f1b5..2f2094e 100755
--- a/res/graal/graal-measure.sh
+++ b/res/graal/graal-measure.sh
@@ -36,7 +36,7 @@ done
# directory of this script
PRGDIR=`dirname "$PRG"`
-EXECUTABLE=${PRGDIR}/output/graal/tc-graal-image
+EXECUTABLE=${PRGDIR}/../../output/graal/tc-graal-image
./${EXECUTABLE} "$@" 2>&1 &
PID=$!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]